public abstract class AntPlusLegacyCommonPcc extends AntPluginPcc
Modifier and Type | Class and Description |
---|---|
static interface |
AntPlusLegacyCommonPcc.ICumulativeOperatingTimeReceiver
Receiver for the CumulativeOperatingTime event, which is:
The cumulative operating time.
|
static interface |
AntPlusLegacyCommonPcc.IManufacturerAndSerialReceiver
Receiver for the ManufacturerAndSerial event, which is:
The manufacturer id and serial number of this device.
|
class |
AntPlusLegacyCommonPcc.IpcDefines
Defines the keys and values used to communicate between the PCC and plugin.
|
static interface |
AntPlusLegacyCommonPcc.IVersionAndModelReceiver
Receiver for the VersionAndModel event, which is:
Version and model information.
|
AntPluginPcc.IDeviceStateChangeReceiver, AntPluginPcc.IPluginAccessResultReceiver<T extends AntPluginPcc>
PATH_ANTPLUS_PLUGINS_PKG
Constructor and Description |
---|
AntPlusLegacyCommonPcc() |
Modifier and Type | Method and Description |
---|---|
void |
subscribeCumulativeOperatingTimeEvent(AntPlusLegacyCommonPcc.ICumulativeOperatingTimeReceiver CumulativeOperatingTimeReceiver)
Subscribe to receive CumulativeOperatingTime events, which contain:
The cumulative operating time.
|
void |
subscribeManufacturerAndSerialEvent(AntPlusLegacyCommonPcc.IManufacturerAndSerialReceiver ManufacturerAndSerialReceiver)
Subscribe to receive ManufacturerAndSerial events, which contain:
The manufacturer id and serial number of this device.
|
boolean |
subscribeRssiEvent(AntPlusCommonPcc.IRssiReceiver RssiReceiver)
Subscribe to receive Rssi events, which contain rssi signal strength data.
|
void |
subscribeVersionAndModelEvent(AntPlusLegacyCommonPcc.IVersionAndModelReceiver VersionAndModelReceiver)
Subscribe to receive VersionAndModel events, which contain:
Version and model information.
|
boolean |
supportsRssi() |
getAntDeviceNumber, getCurrentDeviceState, getDeviceName, getInstalledPluginsVersionNumber, getInstalledPluginsVersionString, getMissingDependencyName, getMissingDependencyPackageName, isUserPreferredDeviceForPlugin, isUserRecognizedDevice, releaseAccess, startPluginManagerActivity
public void subscribeCumulativeOperatingTimeEvent(AntPlusLegacyCommonPcc.ICumulativeOperatingTimeReceiver CumulativeOperatingTimeReceiver)
CumulativeOperatingTimeReceiver
- receiver to receive events (or null to unsubscribe from this event).public void subscribeManufacturerAndSerialEvent(AntPlusLegacyCommonPcc.IManufacturerAndSerialReceiver ManufacturerAndSerialReceiver)
ManufacturerAndSerialReceiver
- receiver to receive events (or null to unsubscribe from this event).public void subscribeVersionAndModelEvent(AntPlusLegacyCommonPcc.IVersionAndModelReceiver VersionAndModelReceiver)
VersionAndModelReceiver
- receiver to receive events (or null to unsubscribe from this event).public boolean subscribeRssiEvent(AntPlusCommonPcc.IRssiReceiver RssiReceiver)
RssiReceiver
- receiver to receive events (or
null to unsubscribe from this event).public boolean supportsRssi()
Copyright © 2015 Dynastream Innovations Inc. All Rights Reserved.