public class OpenDeviceIdentifierConnector
extends java.lang.Object
implements android.content.ServiceConnection, android.os.IBinder.DeathRecipient
| Modifier and Type | Method and Description |
|---|---|
void |
binderDied() |
static OpenDeviceIdentifierConnector |
getInstance(android.content.Context context,
ILogger logger) |
OpenDeviceIdentifierService |
getOpenDeviceIdentifierService(long timeOut,
java.util.concurrent.TimeUnit timeUnit) |
boolean |
isServiceConnected() |
void |
onBindingDied(android.content.ComponentName name) |
void |
onNullBinding(android.content.ComponentName name) |
void |
onServiceConnected(android.content.ComponentName name,
android.os.IBinder service) |
void |
onServiceDisconnected(android.content.ComponentName name) |
void |
shouldUnbind() |
void |
unbindAndReset() |
public static OpenDeviceIdentifierConnector getInstance(android.content.Context context, ILogger logger)
public boolean isServiceConnected()
public OpenDeviceIdentifierService getOpenDeviceIdentifierService(long timeOut, java.util.concurrent.TimeUnit timeUnit)
public void onServiceConnected(android.content.ComponentName name,
android.os.IBinder service)
onServiceConnected in interface android.content.ServiceConnectionpublic void onServiceDisconnected(android.content.ComponentName name)
onServiceDisconnected in interface android.content.ServiceConnectionpublic void onBindingDied(android.content.ComponentName name)
onBindingDied in interface android.content.ServiceConnectionpublic void onNullBinding(android.content.ComponentName name)
onNullBinding in interface android.content.ServiceConnectionpublic void binderDied()
binderDied in interface android.os.IBinder.DeathRecipientpublic void unbindAndReset()
public void shouldUnbind()