Added in API level 36
    BleRssiRangingParams
class BleRssiRangingParams : Parcelable
| kotlin.Any | |
| ↳ | android.ranging.ble.rssi.BleRssiRangingParams | 
BleRssiRangingParams encapsulates the parameters required for a bluetooth rssi based ranging session.
Summary
| Nested classes | |
|---|---|
| 
            
             Builder class to create   | 
        |
| Inherited constants | |
|---|---|
| Public methods | |
|---|---|
| Int | |
| String | 
            
             Returns the Bluetooth address of the peer device.  | 
        
| Int | 
            
             Returns the ranging update rate.  | 
        
| Unit | 
            writeToParcel(dest: Parcel, flags: Int)Flatten this object in to a Parcel.  | 
        
| Properties | |
|---|---|
| static Parcelable.Creator<BleRssiRangingParams!> | |
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 android.os.Parcelable#CONTENTS_FILE_DESCRIPTOR | 
          
getPeerBluetoothAddress
Added in API level 36
      fun getPeerBluetoothAddress(): String
Returns the Bluetooth address of the peer device.
| Return | |
|---|---|
String | 
            String representing the Bluetooth address. This value cannot be null. | 
          
getRangingUpdateRate
Added in API level 36
      fun getRangingUpdateRate(): Int
Returns the ranging update rate.
| Return | |
|---|---|
Int | 
            ranging update rate. Value is android.ranging.raw.RawRangingDevice#UPDATE_RATE_NORMAL, android.ranging.raw.RawRangingDevice#UPDATE_RATE_INFREQUENT, or android.ranging.raw.RawRangingDevice#UPDATE_RATE_FREQUENT | 
          
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 android.os.Parcelable#PARCELABLE_WRITE_RETURN_VALUE, and android.os.Parcelable.PARCELABLE_ELIDE_DUPLICATES |