Package com.dsi.ant.plugins.antplus.pcc
Class AntPlusWatchDownloaderPcc.IpcDefines
java.lang.Object
com.dsi.ant.plugins.antplus.pcc.AntPlusWatchDownloaderPcc.IpcDefines
- Enclosing class:
- AntPlusWatchDownloaderPcc
Defines the keys and values used to communicate between the PCC and plugin.
User code should never have to reference these defines.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The target device to make the request on.static final int
Cancels any listenForNewActivities commands pending for the given device for your application, or cancels all listenForNewActivities commands for all devices if UUID is null.static final int
Submits a request to listen for all new activities available for the target device.static final int
Requests the current device list.static final int
Requests a download of all activities from the device.static final int
Requests a download of all activities from the device.static final String
Devices currently available to connect to.static final String
AAntPlusWatchDownloaderPcc.DeviceListUpdateCode
indicating what is changing on the list.static final String
The device that has changed according to the changeCode or null if N/A for current code.static final String
TheAntFsCommon.AntFsRequestStatusCode
indicating the result of the request.static final int
Broadcasts the current list of devices available to connect to along with information identifying any change since the last update, if applicable.static final int
static final int
Delivers events for the listenForNewActivities commands.static final int
The request access codestatic final String
The plugin package path.static final String
The plugin service path. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
PATH_ANTPLUS_WATCHDOWNLOADERPLUGIN_PKG
The plugin package path.- See Also:
-
PATH_ANTPLUS_WATCHDOWNLOADERPLUGIN_SERVICE
The plugin service path.- See Also:
-
MSG_REQACC_PARAM_MODE_iSCANAVAILABLEDEVICES
public static final int MSG_REQACC_PARAM_MODE_iSCANAVAILABLEDEVICESThe request access code- See Also:
-
MSG_EVENT_WATCHDOWNLOADER_whatAVAILABLEDEVICELIST
public static final int MSG_EVENT_WATCHDOWNLOADER_whatAVAILABLEDEVICELISTBroadcasts the current list of devices available to connect to along with information identifying any change since the last update, if applicable.- See Also:
-
MSG_EVENT_WATCHDOWNLOADER_AVAILABLEDEVICELIST_PARAM_intLISTUPDATECODE
AAntPlusWatchDownloaderPcc.DeviceListUpdateCode
indicating what is changing on the list. Sent in theMSG_EVENT_WATCHDOWNLOADER_whatAVAILABLEDEVICELIST
event.- See Also:
-
MSG_EVENT_WATCHDOWNLOADER_AVAILABLEDEVICELIST_PARAM_arrayParcelableDEVICEINFOS
public static final String MSG_EVENT_WATCHDOWNLOADER_AVAILABLEDEVICELIST_PARAM_arrayParcelableDEVICEINFOSDevices currently available to connect to. Sent in theMSG_EVENT_WATCHDOWNLOADER_whatAVAILABLEDEVICELIST
event.- See Also:
-
MSG_EVENT_WATCHDOWNLOADER_AVAILABLEDEVICELIST_PARAM_parcelableCHANGINGDEVICEINFO
public static final String MSG_EVENT_WATCHDOWNLOADER_AVAILABLEDEVICELIST_PARAM_parcelableCHANGINGDEVICEINFOThe device that has changed according to the changeCode or null if N/A for current code. Sent in theMSG_EVENT_WATCHDOWNLOADER_whatAVAILABLEDEVICELIST
event.- See Also:
-
MSG_EVENT_WATCHDOWNLOADER_whatDOWNLOADACTIVITIESFINISHED
public static final int MSG_EVENT_WATCHDOWNLOADER_whatDOWNLOADACTIVITIESFINISHEDReceives the result of aAntPlusWatchDownloaderPcc.requestDownloadAllActivities(UUID, IDownloadActivitiesFinishedReceiver, IFitFileDownloadedReceiver, IAntFsProgressUpdateReceiver)
command.- See Also:
-
MSG_EVENT_WATCHDOWNLOADER_DOWNLOADACTIVITIESFINISHED_PARAM_intSTATUSCODE
TheAntFsCommon.AntFsRequestStatusCode
indicating the result of the request. Sent in theMSG_EVENT_WATCHDOWNLOADER_whatDOWNLOADACTIVITIESFINISHED
event.- See Also:
-
MSG_EVENT_WATCHDOWNLOADER_whatLISTENFORNEWACTIVITIESDATA
public static final int MSG_EVENT_WATCHDOWNLOADER_whatLISTENFORNEWACTIVITIESDATADelivers events for the listenForNewActivities commands.- See Also:
-
MSG_CMD_WATCHDOWNLOADER_DOWNLOADREQUEST_PARAM_uuidTARGETDEVICEUUID
The target device to make the request on. Sent in the download request commands, events, and responses.- See Also:
-
MSG_CMD_WATCHDOWNLOADER_whatREQUESTCURRENTDEVICELIST
public static final int MSG_CMD_WATCHDOWNLOADER_whatREQUESTCURRENTDEVICELISTRequests the current device list. The list will come in on the receiver passed toAntPlusWatchDownloaderPcc.requestDeviceListAccess(Context, IPluginAccessResultReceiver, IDeviceStateChangeReceiver, IAvailableDeviceListReceiver)
.- See Also:
-
MSG_CMD_WATCHDOWNLOADER_whatREQUESTDOWNLOADALLACTIVITIES
public static final int MSG_CMD_WATCHDOWNLOADER_whatREQUESTDOWNLOADALLACTIVITIESRequests a download of all activities from the device.- See Also:
-
MSG_CMD_WATCHDOWNLOADER_whatREQUESTDOWNLOADNEWACTIVITIES
public static final int MSG_CMD_WATCHDOWNLOADER_whatREQUESTDOWNLOADNEWACTIVITIESRequests a download of all activities from the device.- See Also:
-
MSG_CMD_WATCHDOWNLOADER_whatLISTENFORNEWACTIVITIES
public static final int MSG_CMD_WATCHDOWNLOADER_whatLISTENFORNEWACTIVITIESSubmits a request to listen for all new activities available for the target device. This function will cause the plugin to automatically check periodically for new activities.- See Also:
-
MSG_CMD_WATCHDOWNLOADER_whatCANCELLISTENFORNEWACTIVITIES
public static final int MSG_CMD_WATCHDOWNLOADER_whatCANCELLISTENFORNEWACTIVITIESCancels any listenForNewActivities commands pending for the given device for your application, or cancels all listenForNewActivities commands for all devices if UUID is null.- See Also:
-
-
Constructor Details
-
IpcDefines
public IpcDefines()
-