Interface ILocalDeviceState
interface ILocalDeviceState
Extends com.amazon.apmf.IStandard
Interface that provides device state for the local device.
Methods
getLocalDeviceState()
LocalDeviceState getLocalDeviceState()
Read device state for the local device.
Returns
LocalDeviceState
current device state for the local device.
addLocalDeviceStateListener()
Add listener for local device state changed.com.amazon.apmf.ISubscription*addLocalDeviceStateListener(ILocalDeviceStateListener*listener)
Parameters
listener
ILocalDeviceStateListener* — Required
ILocalDeviceStateListener for local device state changed.
Returns
com.amazon.apmf.ISubscription*
ISubscription object. Use this object: this->unsubcribe to remove listener.

