UwbComplexChannel
class UwbComplexChannel : Parcelable
| kotlin.Any | |
| ↳ | android.ranging.uwb.UwbComplexChannel |
A Class representing the complex channel for UWB which comprises channel and preamble index negotiated between peer devices out of band before ranging.
PRF (Pulse Repetition Frequency) supported:
- BPRF - Base Pulse Repetition Frequency.
- HPRF - Higher Pulse Repetition Frequency.
Summary
| Nested classes | |
|---|---|
|
Builder for creating instances of |
|
| Constants | |
|---|---|
| static Int |
UWB channel 10 |
| static Int |
UWB channel 12 |
| static Int |
UWB channel 13 |
| static Int |
UWB channel 14 |
| static Int |
UWB channel 5 |
| static Int |
UWB channel 6 |
| static Int |
UWB channel 8 |
| static Int |
UWB channel 9 |
| static Int |
UWB preamble code index 10 (PRF mode - BPRF). |
| static Int |
UWB preamble code index 11 (PRF mode - BPRF). |
| static Int |
UWB preamble code index 12 (PRF mode - BPRF). |
| static Int |
UWB preamble code index 25 (PRF mode - HPRF). |
| static Int |
UWB preamble code index 26 (PRF mode - HPRF). |
| static Int |
UWB preamble code index 27 (PRF mode - HPRF). |
| static Int |
UWB preamble code index 28 (PRF mode - HPRF). |
| static Int |
UWB preamble code index 29 (PRF mode - HPRF). |
| static Int |
UWB preamble code index 30 (PRF mode - HPRF). |
| static Int |
UWB preamble code index 31 (PRF mode - HPRF). |
| static Int |
UWB preamble code index 32 (PRF mode - HPRF). |
| static Int |
UWB preamble code index 9 (PRF mode - BPRF). |
| Inherited constants | |
|---|---|
| Public methods | |
|---|---|
| Int | |
| Boolean | |
| Int |
Gets the UWB channel associated with this configuration. |
| Int |
Gets the UWB preamble index associated with this configuration. |
| Int |
hashCode() |
| String |
toString() |
| Unit |
writeToParcel(dest: Parcel, flags: Int)Flatten this object in to a Parcel. |
| Properties | |
|---|---|
| static Parcelable.Creator<UwbComplexChannel!> | |
Constants
UWB_PREAMBLE_CODE_INDEX_10
static val UWB_PREAMBLE_CODE_INDEX_10: Int
UWB preamble code index 10 (PRF mode - BPRF).
Value: 10UWB_PREAMBLE_CODE_INDEX_11
static val UWB_PREAMBLE_CODE_INDEX_11: Int
UWB preamble code index 11 (PRF mode - BPRF).
Value: 11UWB_PREAMBLE_CODE_INDEX_12
static val UWB_PREAMBLE_CODE_INDEX_12: Int
UWB preamble code index 12 (PRF mode - BPRF).
Value: 12UWB_PREAMBLE_CODE_INDEX_25
static val UWB_PREAMBLE_CODE_INDEX_25: Int
UWB preamble code index 25 (PRF mode - HPRF).
Value: 25UWB_PREAMBLE_CODE_INDEX_26
static val UWB_PREAMBLE_CODE_INDEX_26: Int
UWB preamble code index 26 (PRF mode - HPRF).
Value: 26UWB_PREAMBLE_CODE_INDEX_27
static val UWB_PREAMBLE_CODE_INDEX_27: Int
UWB preamble code index 27 (PRF mode - HPRF).
Value: 27UWB_PREAMBLE_CODE_INDEX_28
static val UWB_PREAMBLE_CODE_INDEX_28: Int
UWB preamble code index 28 (PRF mode - HPRF).
Value: 28UWB_PREAMBLE_CODE_INDEX_29
static val UWB_PREAMBLE_CODE_INDEX_29: Int
UWB preamble code index 29 (PRF mode - HPRF).
Value: 29UWB_PREAMBLE_CODE_INDEX_30
static val UWB_PREAMBLE_CODE_INDEX_30: Int
UWB preamble code index 30 (PRF mode - HPRF).
Value: 30UWB_PREAMBLE_CODE_INDEX_31
static val UWB_PREAMBLE_CODE_INDEX_31: Int
UWB preamble code index 31 (PRF mode - HPRF).
Value: 31UWB_PREAMBLE_CODE_INDEX_32
static val UWB_PREAMBLE_CODE_INDEX_32: Int
UWB preamble code index 32 (PRF mode - HPRF).
Value: 32UWB_PREAMBLE_CODE_INDEX_9
static val UWB_PREAMBLE_CODE_INDEX_9: Int
UWB preamble code index 9 (PRF mode - BPRF).
Value: 9Public methods
describeContents
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 |
equals
fun equals(other: Any?): Boolean
| Parameters | |
|---|---|
obj |
the reference object with which to compare. |
| Return | |
|---|---|
Boolean |
true if this object is the same as the obj argument; false otherwise. |
getChannel
fun getChannel(): Int
Gets the UWB channel associated with this configuration.
getPreambleIndex
fun getPreambleIndex(): Int
Gets the UWB preamble index associated with this configuration.
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 |