Builder


class Builder
kotlin.Any
   ↳ android.ranging.uwb.UwbComplexChannel.Builder

Builder for creating instances of UwbComplexChannel.

Summary

Public constructors

Public methods
UwbComplexChannel

Builds and returns a new instance of UwbComplexChannel.

UwbComplexChannel.Builder
setChannel(channel: Int)

Sets the channel for the ranging device.

UwbComplexChannel.Builder
setPreambleIndex(preambleIndex: Int)

Sets the preamble index for the ranging device as defined in See UWB_PREAMBLE_CODE_INDEX_9, UWB_PREAMBLE_CODE_INDEX_10, UWB_PREAMBLE_CODE_INDEX_11 or UWB_PREAMBLE_CODE_INDEX_12.

Public constructors

Builder

Builder()

Public methods

build

fun build(): UwbComplexChannel

Builds and returns a new instance of UwbComplexChannel.

Return
UwbComplexChannel A new UwbComplexChannel instance. This value cannot be null.