public class LifecycleListenerImpl extends BaseListenerImpl implements ILifecycleListener
| Constructor and Description |
|---|
LifecycleListenerImpl(long id)
Constructor with listener id.
|
| Modifier and Type | Method and Description |
|---|---|
void |
onError(ILifecycleListenerError error)
No data received - error condition, not authorized or hardware not available.
|
void |
onResult(Lifecycle lifecycle)
Called when lifecycle changes somehow.
|
void |
onWarning(Lifecycle lifecycle,
ILifecycleListenerWarning warning)
Data received with warning
|
getAPIGroup, getAPIVersion, getId, getJSONParserclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetIdgetAPIGroup, getAPIVersionpublic LifecycleListenerImpl(long id)
id - The id of the listener.public void onError(ILifecycleListenerError error)
onError in interface ILifecycleListenererror - Type of error encountered during reading.public void onResult(Lifecycle lifecycle)
onResult in interface ILifecycleListenerlifecycle - Lifecycle elementpublic void onWarning(Lifecycle lifecycle, ILifecycleListenerWarning warning)
onWarning in interface ILifecycleListenerlifecycle - Lifecycle elementwarning - Type of warning encountered during reading.