WifiRttSpecificData
class WifiRttSpecificData : Parcelable
| kotlin.Any | |
| ↳ | android.ranging.wifi.rtt.WifiRttSpecificData |
Represents the android.ranging.RangingManager.RangingTechnology#WIFI_NAN_RTT specific data. This is generally used by algorithms for fine tuning ranging data.
Summary
| Inherited constants | |
|---|---|
| Public methods | |
|---|---|
| Int | |
| Boolean | |
| Double |
Gets the distance standard deviation in meters. |
| ByteArray |
getLci()Gets the LCI. |
| Int |
Gets the measurement bandwidth. |
| Int |
Gets the measurement channel frequency in MHz. |
| Int |
Gets the number of attempted measurements. |
| Int |
Gets the number of successful measurements. |
| Int |
hashCode() |
| String |
toString() |
| Unit |
writeToParcel(dest: Parcel, flags: Int)Flatten this object in to a Parcel. |
| Properties | |
|---|---|
| static Parcelable.Creator<WifiRttSpecificData!> | |
Public methods
describeContents
fun describeContents(): Int
getDistanceStandardDeviationMeters
fun getDistanceStandardDeviationMeters(): Double
Gets the distance standard deviation in meters.
| Return | |
|---|---|
Double |
the distance standard deviation in meters |
getMeasurementBandwidth
fun getMeasurementBandwidth(): Int
Gets the measurement bandwidth.
| Return | |
|---|---|
Int |
the measurement bandwidth. Value is one of the following: |
getMeasurementChannelFrequencyMHz
fun getMeasurementChannelFrequencyMHz(): Int
Gets the measurement channel frequency in MHz.
| Return | |
|---|---|
Int |
the measurement channel frequency in MHz |
getNumAttemptedMeasurements
fun getNumAttemptedMeasurements(): Int
Gets the number of attempted measurements.
| Return | |
|---|---|
Int |
the number attempted measurements |
getNumSuccessfulMeasurements
fun getNumSuccessfulMeasurements(): Int
Gets the number of successful measurements.
| Return | |
|---|---|
Int |
the number successful measurements |
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<WifiRttSpecificData!>