BleCsRangingCapabilities
class BleCsRangingCapabilities : Parcelable
| kotlin.Any | |
| ↳ | android.ranging.ble.cs.BleCsRangingCapabilities |
Represents the capabilities of the Bluetooth-based Channel Sounding (CS) ranging.
Summary
| Constants | |
|---|---|
| static Int |
Security Level 4: 10 ns CS RTT accuracy and CS tones with the addition of CS RTT sounding sequence or random sequence payloads, and support of the Normalized Attack Detector Metric requirements. |
| static Int |
Security Level 1: Either CS tone or CS RTT. |
| Inherited constants | |
|---|---|
| Public methods | |
|---|---|
| Int | |
| MutableSet<Int!> |
Returns a list of the supported security levels. |
| String |
toString()Returns a string representation of the object. |
| Unit |
writeToParcel(dest: Parcel, flags: Int)Flatten this object in to a Parcel. |
| Properties | |
|---|---|
| static Parcelable.Creator<BleCsRangingCapabilities!> | |
Constants
CS_SECURITY_LEVEL_FOUR
static val CS_SECURITY_LEVEL_FOUR: Int
Security Level 4: 10 ns CS RTT accuracy and CS tones with the addition of CS RTT sounding sequence or random sequence payloads, and support of the Normalized Attack Detector Metric requirements.
Value: 4CS_SECURITY_LEVEL_ONE
static val CS_SECURITY_LEVEL_ONE: Int
Security Level 1: Either CS tone or CS RTT..
Value: 1Public methods
describeContents
fun describeContents(): Int
| Return | |
|---|---|
Int |
a bitmask indicating the set of special object types marshaled by this Parcelable object instance. Value is either 0 or
|
getSupportedSecurityLevels
fun getSupportedSecurityLevels(): MutableSet<Int!>
Returns a list of the supported security levels.
| Return | |
|---|---|
MutableSet<Int!> |
a Set of integers representing the security levels, where each level is one of android.ranging.ble.cs.BleCsRangingCapabilities.SecurityLevel. This value cannot be null. Value is one of the following: |
toString
fun toString(): String
Returns a string representation of the object.
| Return | |
|---|---|
String |
a string representation of the object. |
writeToParcel
fun writeToParcel(
dest: Parcel,
flags: Int
): Unit
Flatten this object in to a Parcel.
| Parameters | |
|---|---|
dest |
Parcel: This value cannot be null. |
flags |
Int: Additional flags about how the object should be written. May be 0 or PARCELABLE_WRITE_RETURN_VALUE. Value is either 0 or a combination of the following:
|