public abstract class DeviceInfoCallback
extends java.lang.Object
| Constructor and Description |
|---|
DeviceInfoCallback() |
| Modifier and Type | Method and Description |
|---|---|
void |
onError(AmazonFreeRTOSConstants.AmazonFreeRTOSError Error) |
void |
onObtainBrokerEndpoint(java.lang.String endpoint)
This callback is triggered when device sends its MQTT broker endpoint in response to
getBrokerEndpoint.
|
void |
onObtainDeviceSoftwareVersion(java.lang.String version)
This callback is triggered when device sends its current software version in response to
getDeviceVersion.
|
void |
onObtainMtu(int mtu)
This callback is triggered when device sends the current mtu number in response to getMtu.
|
public void onObtainMtu(int mtu)
mtu - the current mtu value negotiated between device and Android phone.public void onObtainBrokerEndpoint(java.lang.String endpoint)
endpoint - The current MQTT broker endpoint set on the device.public void onObtainDeviceSoftwareVersion(java.lang.String version)
version - The current device library version on the device.public void onError(AmazonFreeRTOSConstants.AmazonFreeRTOSError Error)