public static class AntPlusBikeSpdCadCommonPcc.MultiDeviceSearchSpdCadResult extends MultiDeviceSearch.MultiDeviceSearchResult
Modifier and Type | Field and Description |
---|---|
static |
CREATOR
CREATOR is used by Android parceling system.
|
resultID
Constructor and Description |
---|
AntPlusBikeSpdCadCommonPcc.MultiDeviceSearchSpdCadResult(int resultID,
AntPluginDeviceDbProvider.DeviceDbDeviceInfo spdInfo,
AntPluginDeviceDbProvider.DeviceDbDeviceInfo cadInfo,
boolean alreadyConnected)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
isPreferredDevice()
Indicates if device is set as preferred in the user's ANT+ Plugin Service database
|
boolean |
isPreferredForCadence()
Indicates if the device is the preferred bike cadence device in the user's ANT+ Plugin Service database
|
boolean |
isPreferredForSpeed()
Indicates if the device is the preferred bike speed device in the user's ANT+ Plugin Service database
|
void |
writeToParcel(Parcel dest,
int flags) |
describeContents, getAntDeviceNumber, getAntDeviceType, getDeviceDisplayName, isAlreadyConnected, isUserRecognizedDevice
public AntPlusBikeSpdCadCommonPcc.MultiDeviceSearchSpdCadResult(int resultID, AntPluginDeviceDbProvider.DeviceDbDeviceInfo spdInfo, AntPluginDeviceDbProvider.DeviceDbDeviceInfo cadInfo, boolean alreadyConnected)
resultID
- unique identifier for this devicespdInfo
- speed device informationcadInfo
- cadence device informationalreadyConnected
- true if device is already connected to another application in the plugin servicepublic boolean isPreferredDevice()
MultiDeviceSearch.MultiDeviceSearchResult
isPreferredDevice
in class MultiDeviceSearch.MultiDeviceSearchResult
public boolean isPreferredForSpeed()
public boolean isPreferredForCadence()
public void writeToParcel(Parcel dest, int flags)
writeToParcel
in class MultiDeviceSearch.MultiDeviceSearchResult
Copyright © 2015 Dynastream Innovations Inc. All Rights Reserved.