Package com.dsi.ant.plugins.antplus.pcc
Class AntPlusWatchDownloaderPcc.DeviceInfo
java.lang.Object
com.dsi.ant.plugins.antplus.pcc.AntPlusWatchDownloaderPcc.DeviceInfo
- All Implemented Interfaces:
android.os.Parcelable
- Enclosing class:
- AntPlusWatchDownloaderPcc
public static class AntPlusWatchDownloaderPcc.DeviceInfo
extends Object
implements android.os.Parcelable
Device information, used in available devices list and making requests
-
Nested Class Summary
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected int
protected int
static final android.os.Parcelable.Creator<AntPlusWatchDownloaderPcc.DeviceInfo>
CREATOR for parcelingprotected UUID
protected String
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
Constructor Summary
ConstructorsConstructorDescriptionDeviceInfo
(UUID deviceUUID, int antFsManufacturerId, int antFsDeviceType, String savedDisplayName) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionint
boolean
int
Returns the device type.int
Returns the manufacturer id.Returns a UUID uniquely identifying this device for the plugin.Returns the display name.void
writeToParcel
(android.os.Parcel dest, int flags)
-
Field Details
-
deviceUUID
-
savedDisplayName
-
antFsManufacturerId
protected int antFsManufacturerId -
antFsDeviceType
protected int antFsDeviceType -
CREATOR
CREATOR for parceling
-
-
Constructor Details
-
Method Details
-
describeContents
public int describeContents()- Specified by:
describeContents
in interfaceandroid.os.Parcelable
-
writeToParcel
public void writeToParcel(android.os.Parcel dest, int flags) - Specified by:
writeToParcel
in interfaceandroid.os.Parcelable
-
equals
-
getDeviceUUID
Returns a UUID uniquely identifying this device for the plugin. Once any application has interacted with this device the device is saved to the plugin database and the UUID will be permanent across sessions. If this device is not saved to the database the UUID will only be consistent until the PCC is released and the plugin service shuts down.- Returns:
- The UUID identifying this device for the plugin.
-
getAntfsManufacturerId
public int getAntfsManufacturerId()Returns the manufacturer id.- Returns:
- The manufacturer id.
-
getAntfsDeviceType
public int getAntfsDeviceType()Returns the device type.- Returns:
- The device type.
-
getDisplayName
Returns the display name.- Returns:
- The display name.
-