Interface AntPlusGeocachePcc.IAvailableDeviceListReceiver

Enclosing class:
AntPlusGeocachePcc

public static interface AntPlusGeocachePcc.IAvailableDeviceListReceiver
Receiver for the AvailableDeviceList event, which is: Broadcasts the current list of devices available to connect to along with information identifying any change since the last update, if applicable.
  • Method Details

    • onNewAvailableDeviceList

      void onNewAvailableDeviceList(int[] deviceIDs, String[] deviceIdentifierStrings, AntPlusGeocachePcc.DeviceChangingCode changeCode, int changingDeviceID)
      Receives the data from a AvailableDeviceList event.
      Parameters:
      deviceIDs - Devices currently available to connect to.
      deviceIdentifierStrings - The character identification of devices in the current devices list. Note: The length of this array and the indices correlate directly with the currentDevices list.
      changeCode - A AntPlusGeocachePcc.DeviceChangingCode indicating what is changing on the list.
      changingDeviceID - The device ID of a device that has changed according to the changeCode or -1 if N/A for current code.