public interface SensorResultHandler
This interface will be used by sensor listeners to dispatch the updates of the supported sensors to
the respective plug-in.
| Modifier and Type | Method and Description |
|---|---|
void |
onError(java.lang.String message,
int code)
Occurs when an error occurred during the sensor registration process.
|
void |
onSuccess(java.lang.Object result)
Occurs when a sensor listener registered successfully and new sensor update value is available.
|
void onSuccess(java.lang.Object result)
result - An instance of sensor data object.void onError(java.lang.String message,
int code)
message - An error message.code - An error code.Errors