Added in API level 36

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

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

Added in API level 36
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: 4

CS_SECURITY_LEVEL_ONE

Added in API level 36
static val CS_SECURITY_LEVEL_ONE: Int

Security Level 1: Either CS tone or CS RTT..

Value: 1

Public methods

describeContents

Added in API level 36
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

Added in API level 36
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

Added in API level 36
fun toString(): String

Returns a string representation of the object.

Return
String a string representation of the object.

writeToParcel

Added in API level 36
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:

Properties

CREATOR

Added in API level 36
static val CREATOR: Parcelable.Creator<BleCsRangingCapabilities!>