BleSpecificData


class BleSpecificData : Parcelable
kotlin.Any
   ↳ android.ranging.ble.BleSpecificData

Represents the android.ranging.RangingManager#BLE_CS or android.ranging.RangingManager#BLE_RSSI specific data. This is generally used by algorithms for fine tuning ranging data.

Summary

Constants
static Int

Value for invalid TX Power

Inherited constants
Public methods
Int

Boolean
equals(other: Any?)

Double

Gets the delay spread in meters.

Int

Get remote TX power.

Int

String

Unit
writeToParcel(dest: Parcel, flags: Int)

Flatten this object in to a Parcel.

Properties
static Parcelable.Creator<BleSpecificData!>

Constants

INVALID_TX_POWER_DBM

static val INVALID_TX_POWER_DBM: Int

Value for invalid TX Power

Value: 127

Public methods

describeContents

fun describeContents(): Int

equals

fun equals(other: Any?): Boolean

getDelaySpreadMeters

fun getDelaySpreadMeters(): Double

Gets the delay spread in meters.

Return
Double the delay spread in meters.
Value is 0 or greater

getRemoteTxPowerDbm

fun getRemoteTxPowerDbm(): Int

Get remote TX power. Will return INVALID_TX_POWER_DBM if it does not exist.

Return
Int remote TX power in dBm.
Value is between -127 and 127 inclusive

hashCode

fun hashCode(): Int

toString

fun toString(): String

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:

Properties

CREATOR

static val CREATOR: Parcelable.Creator<BleSpecificData!>