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 | |
|---|---|
| MutableSet<Int!> |
Returns a list of the supported security levels. |
| String |
toString() |
| 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
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 android.ranging.ble.cs.BleCsRangingCapabilities#CS_SECURITY_LEVEL_ONE, or android.ranging.ble.cs.BleCsRangingCapabilities#CS_SECURITY_LEVEL_FOUR |
toString
fun toString(): String
| 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 android.os.Parcelable#PARCELABLE_WRITE_RETURN_VALUE, and android.os.Parcelable.PARCELABLE_ELIDE_DUPLICATES |