Interface AntPluginPcc.IDeviceStateChangeReceiver

Enclosing class:
AntPluginPcc

public static interface AntPluginPcc.IDeviceStateChangeReceiver
Allows clients to receive state updates of an accessed device.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Receives the new state of the device whenever the state changes.
  • Method Details

    • onDeviceStateChange

      void onDeviceStateChange(DeviceState newDeviceState)
      Receives the new state of the device whenever the state changes. Note: The initial state of the device at the time the device is first accessed is returned in the AntPluginPcc.IPluginAccessResultReceiver.
      Parameters:
      newDeviceState - The new state of the device.