public final class Capabilities
extends java.lang.Object
See the ANT Message Protocol and Usage document for more details.
Modifier and Type | Field and Description |
---|---|
static |
CREATOR
For Parcelable
|
Constructor and Description |
---|
Capabilities()
Constructs a Capabilities object with all capabilities default to false.
|
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
boolean |
equals(java.lang.Object obj) |
int |
getMaxOutputPowerLevelSetting()
Gets the highest output power level setting available (for transmit power).
|
int |
getRfFrequencyMax()
Gets the maximum value allowed for RF frequency.
|
int |
getRfFrequencyMin()
Gets the minimum value allowed for RF frequency.
|
boolean |
hasBackgroundScanning()
Checks for support of background scanning.
|
boolean |
hasCapabilities(Capabilities desiredCapabilities)
Checks for the desired capabilities.
|
boolean |
hasEventBuffering()
Checks for support of configuring event buffer.
|
boolean |
hasExtendedAssign()
Checks for support of extended assign, based on background scanning and frequency agility
support.
|
boolean |
hasFrequencyAgility()
Checks for support of frequency agility.
|
int |
hashCode() |
boolean |
hasRssi()
Checks for support of RSSI.
|
boolean |
hasRxMessageTimestamp()
Checks for support of Rx message timestamp.
|
boolean |
hasSearchPriority()
Checks for support of configuring channel search priority.
|
boolean |
hasWildcardIdList()
Checks for support of wildcard in inclusion/exclusion ID list.
|
int |
numberOfCapabilities(Capabilities desiredCapabilities)
Checks for the number of desired capabilities.
|
void |
supportBackgroundScanning(boolean value)
Requests for channel that supports background scanning.
|
void |
supportEventBuffering(boolean value)
Requests for a channel that supports configuring event buffer.
|
void |
supportFrequencyAgility(boolean value)
Requests for channel that supports frequency agility.
|
void |
supportRssi(boolean value)
Requests for channel that supports RSSI value.
|
void |
supportRxMessageTimestamp(boolean value)
Requests for channel that supports Rx message timestamp.
|
void |
supportSearchPriority(boolean value)
Requests for a channel that supports configuring search priority.
|
void |
supportWildcardIdList(boolean value)
Requests for channel that supports wildcard in inclusion/exclusion ID list.
|
java.lang.String |
toString() |
void |
writeToParcel(Parcel dest,
int flags) |
public Capabilities()
public boolean hasRxMessageTimestamp()
public void supportRxMessageTimestamp(boolean value)
value
- true to request channel that supports Rx message timestamp, false otherwise.public boolean hasExtendedAssign()
public boolean hasBackgroundScanning()
public void supportBackgroundScanning(boolean value)
value
- true to request channel that supports background scanning, false otherwise.public boolean hasFrequencyAgility()
public void supportFrequencyAgility(boolean value)
value
- true to request channel that supports frequency agility, false otherwise.public boolean hasRssi()
public void supportRssi(boolean value)
value
- true to request channel that supports RSSI value, false otherwise.public boolean hasWildcardIdList()
public void supportWildcardIdList(boolean value)
value
- true to request channel that supports wildcard in in/exclusion ID list, false
otherwise.public boolean hasEventBuffering()
public void supportEventBuffering(boolean value)
value
- true to request channel that supports configuring event buffer,
false otherwise.public int getMaxOutputPowerLevelSetting()
public int getRfFrequencyMin()
public int getRfFrequencyMax()
public boolean hasSearchPriority()
public void supportSearchPriority(boolean value)
public boolean hasCapabilities(Capabilities desiredCapabilities)
desiredCapabilities
- Has each capability to check for set.public int numberOfCapabilities(Capabilities desiredCapabilities)
desiredCapabilities
- Has each capability to check for set.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public int describeContents()
public void writeToParcel(Parcel dest, int flags)
Copyright © 2015 Dynastream Innovations Inc. All Rights Reserved.