Class AntPlusLegacyCommonPcc

java.lang.Object
com.dsi.ant.plugins.antplus.pccbase.AntPluginPcc
com.dsi.ant.plugins.antplus.pccbase.AntPlusLegacyCommonPcc
Direct Known Subclasses:
AntPlusBikeSpdCadCommonPcc, AntPlusHeartRatePcc

public abstract class AntPlusLegacyCommonPcc extends AntPluginPcc
Adds legacy common pages support to a PCC
  • Constructor Details

    • AntPlusLegacyCommonPcc

      public AntPlusLegacyCommonPcc()
  • Method Details

    • handlePluginEvent

      protected void handlePluginEvent(android.os.Message eventMsg)
      Specified by:
      handlePluginEvent in class AntPluginPcc
    • subscribeCumulativeOperatingTimeEvent

      public void subscribeCumulativeOperatingTimeEvent(AntPlusLegacyCommonPcc.ICumulativeOperatingTimeReceiver CumulativeOperatingTimeReceiver)
      Subscribe to receive CumulativeOperatingTime events, which contain: The cumulative operating time. This function can also be used to unsubscribe from an event, by passing null as the receiver.
      Parameters:
      CumulativeOperatingTimeReceiver - receiver to receive events (or null to unsubscribe from this event).
    • subscribeManufacturerAndSerialEvent

      public void subscribeManufacturerAndSerialEvent(AntPlusLegacyCommonPcc.IManufacturerAndSerialReceiver ManufacturerAndSerialReceiver)
      Subscribe to receive ManufacturerAndSerial events, which contain: The manufacturer id and serial number of this device. This function can also be used to unsubscribe from an event, by passing null as the receiver.
      Parameters:
      ManufacturerAndSerialReceiver - receiver to receive events (or null to unsubscribe from this event).
    • subscribeVersionAndModelEvent

      public void subscribeVersionAndModelEvent(AntPlusLegacyCommonPcc.IVersionAndModelReceiver VersionAndModelReceiver)
      Subscribe to receive VersionAndModel events, which contain: Version and model information. This function can also be used to unsubscribe from an event, by passing null as the receiver.
      Parameters:
      VersionAndModelReceiver - receiver to receive events (or null to unsubscribe from this event).
    • subscribeRssiEvent

      public boolean subscribeRssiEvent(AntPlusCommonPcc.IRssiReceiver RssiReceiver)
      Subscribe to receive Rssi events, which contain rssi signal strength data. This function can also be used to unsubscribe from an event, by passing null as the receiver.
      Parameters:
      RssiReceiver - receiver to receive events (or null to unsubscribe from this event).
      Returns:
      true if successful
      Since:
      3.2.3; requires Plugin Service 3.2.3+
    • supportsRssi

      public boolean supportsRssi()