BleCsRangingCapabilities


class BleCsRangingCapabilities : Parcelable

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
Int CONTENTS_FILE_DESCRIPTOR

Descriptor bit used with describeContents(): indicates that the Parcelable object's flattened representation includes a file descriptor.

Int PARCELABLE_WRITE_RETURN_VALUE

Flag for use with writeToParcel: the object being written is a return value, that is the result of a function such as "Parcelable someFunction()", "void someFunction(out Parcelable)", or "void someFunction(inout Parcelable)". Some implementations may want to release resources at this point.

Public methods
MutableSet<Int!>

Returns a list of the supported security levels.

String

Unit
writeToParcel(dest: Parcel, flags: Int)

Flatten this object in to a Parcel.

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: 4

CS_SECURITY_LEVEL_ONE

static val CS_SECURITY_LEVEL_ONE: Int

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

Value: 1

Public 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

Properties

CREATOR

static val CREATOR: Parcelable.Creator<BleCsRangingCapabilities!>