public final class AdapterInfo
extends java.lang.Object
AntChannelProvider#acquireChannelFromAdapter(android.content.Context, AdapterInfo, NetworkKey)
,
AntChannelProvider#acquireChannelFromAdapter(android.content.Context, AdapterInfo, PredefinedNetwork)
,
AntChannelProvider#acquireChannelFromAdapter(android.content.Context, AdapterInfo, NetworkKey, Capabilities, Capabilities)
,
and AntChannelProvider#acquireChannelFromAdapter(android.content.Context, AdapterInfo, PredefinedNetwork, Capabilities, Capabilities)
.Modifier and Type | Field and Description |
---|---|
static |
CREATOR
For Parcelable
|
Constructor and Description |
---|
AdapterInfo(java.lang.String versionString,
Capabilities capabilities,
boolean isBuiltIn,
boolean continuousScanSupported) |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
java.util.UUID |
getAdapterId()
retrieves a unique ID associated with this adapter.
|
Capabilities |
getCapabilities()
Retrieves the capabilities of this adapter
|
java.lang.String |
getVersionString()
Retrieves the version info of this adapter.
|
boolean |
isBuiltIn()
Checks if the adapter represented by this object is builtin or external.
|
java.lang.Boolean |
isContinuousScanSupported()
Checks if the adapter supports continuous scan mode.
|
int |
readFromParcel(Parcel source)
Set values to those in the provided Parcel
|
void |
writeToParcel(Parcel dest,
int flags)
Writes value into the provided parcel
|
public AdapterInfo(java.lang.String versionString, Capabilities capabilities, boolean isBuiltIn, boolean continuousScanSupported)
public boolean isBuiltIn()
public java.lang.String getVersionString()
public Capabilities getCapabilities()
public java.util.UUID getAdapterId()
public java.lang.Boolean isContinuousScanSupported()
public int describeContents()
public void writeToParcel(Parcel dest, int flags)
public int readFromParcel(Parcel source)
source
- Parceled version of an ServiceResultParcel.Copyright © 2015 Dynastream Innovations Inc. All Rights Reserved.