public interface ICloudConnectorEventListener
Use the CloudConnectorManager.registerEventListener(ICloudConnectorEventListener)
and CloudConnectorManager.unregisterEventListener(ICloudConnectorEventListener)
methods to subscribe and unsubscribe from the Cloud Connector service.
CloudConnectorManager
Modifier and Type | Method | Description |
---|---|---|
void |
connected() |
Notifies that the Cloud Connector service has connected.
|
void |
connectionError(java.lang.String errorMessage) |
Notifies that there was an error connecting.
|
void |
disconnected() |
Notifies that the Cloud Connector service has disconnected.
|
void |
sendDataPointsError(java.lang.String errorMessage) |
Notifies that there was an error sending the data points.
|
void |
sendDataPointsSuccess() |
Notifies that the data points have been sent successfully.
|
void connected()
void disconnected()
void connectionError(java.lang.String errorMessage)
errorMessage
- The connection error description.void sendDataPointsSuccess()
void sendDataPointsError(java.lang.String errorMessage)
errorMessage
- The error message.