public static class AsyncScanController.AsyncScanResultDeviceInfo
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static |
CREATOR
CREATOR is used by Android parceling system.
|
static java.lang.String |
KEY_DEFAULT_ASYNCSCANRESULTKEY
IPC key for bundling this object
|
java.util.UUID |
scanResultInternalIdentifier
currently used internally by the plugin service
|
| Constructor and Description |
|---|
AsyncScanController.AsyncScanResultDeviceInfo(Parcel in)
Parcel constructor
|
AsyncScanController.AsyncScanResultDeviceInfo(java.util.UUID scanResultIdentifier,
AntPluginDeviceDbProvider.DeviceDbDeviceInfo deviceInfo,
boolean isAlreadyConnected)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
int |
getAntDeviceNumber()
Retrieves the deviceNumber of this device.
|
java.lang.String |
getDeviceDisplayName()
Retrieves a display friendly name for this device.
|
boolean |
isAlreadyConnected()
Returns a value indicating if this device is already connected to the the plugin (being used by other applications).
|
boolean |
isUserPreferredDeviceForPlugin()
Returns a value indicating if this device is set as the preferred device for this plugin type in the user's device database.
|
boolean |
isUserRecognizedDevice()
Returns a value indicating if this device has been saved to the user's device database.
|
void |
writeToParcel(Parcel dest,
int flags) |
public static final java.lang.String KEY_DEFAULT_ASYNCSCANRESULTKEY
public final java.util.UUID scanResultInternalIdentifier
public static finalCREATOR
public AsyncScanController.AsyncScanResultDeviceInfo(java.util.UUID scanResultIdentifier,
AntPluginDeviceDbProvider.DeviceDbDeviceInfo deviceInfo,
boolean isAlreadyConnected)
scanResultIdentifier - unique identifier within this async scan controller instancedeviceInfo - device informationisAlreadyConnected - true if device is already connected to another application in the plugin servicepublic AsyncScanController.AsyncScanResultDeviceInfo(Parcel in)
in - Parcel with object datapublic int describeContents()
public void writeToParcel(Parcel dest,
int flags)
public java.lang.String getDeviceDisplayName()
public int getAntDeviceNumber()
public boolean isUserRecognizedDevice()
public boolean isUserPreferredDeviceForPlugin()
public boolean isAlreadyConnected()
Copyright © 2015 Dynastream Innovations Inc. All Rights Reserved.