Builder


class Builder
kotlin.Any
   ↳ android.ranging.raw.RawInitiatorRangingConfig.Builder

Builder class for constructing instances of RawInitiatorRangingConfig.

Summary

Public constructors

Public methods
RawInitiatorRangingConfig.Builder

Adds a RawRangingDevice to the list of devices for this session.

RawInitiatorRangingConfig.Builder

Adds a list of android.ranging.raw.RawRangingDevice to the list of devices for this session.

RawInitiatorRangingConfig

Builds and returns a new RawInitiatorRangingConfig instance.

Public constructors

Builder

Builder()

Public methods

addRawRangingDevice

fun addRawRangingDevice(rangingDevice: RawRangingDevice): RawInitiatorRangingConfig.Builder

Adds a RawRangingDevice to the list of devices for this session.

Parameters
rangingDevice RawRangingDevice: the device to be added. This value cannot be null.
Return
RawInitiatorRangingConfig.Builder this Builder instance. This value cannot be null.

addRawRangingDevices

fun addRawRangingDevices(rangingDevices: MutableList<RawRangingDevice!>): RawInitiatorRangingConfig.Builder

Adds a list of android.ranging.raw.RawRangingDevice to the list of devices for this session.

Parameters
rangingDevices MutableList<RawRangingDevice!>: the list of devices to be added. This value cannot be null.
Return
RawInitiatorRangingConfig.Builder this Builder instance. This value cannot be null.

build

fun build(): RawInitiatorRangingConfig

Builds and returns a new RawInitiatorRangingConfig instance.

Return
RawInitiatorRangingConfig a configured instance of RawInitiatorRangingConfig. This value cannot be null.