Added in API level Baklava
Builder
class Builder
kotlin.Any | |
↳ | android.ranging.raw.RawInitiatorRangingConfig.Builder |
Builder class for constructing instances of RawInitiatorRangingConfig
.
Summary
Public constructors | |
---|---|
Builder() |
Public methods | |
---|---|
RawInitiatorRangingConfig.Builder |
addRawRangingDevice(rangingDevice: RawRangingDevice) Adds a |
RawInitiatorRangingConfig.Builder |
addRawRangingDevices(rangingDevices: MutableList<RawRangingDevice!>) Adds a list of |
RawInitiatorRangingConfig |
build() Builds and returns a new |
Public constructors
Public methods
addRawRangingDevice
Added in API level Baklava
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
Added in API level Baklava
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
Added in API level Baklava
fun build(): RawInitiatorRangingConfig
Builds and returns a new RawInitiatorRangingConfig
instance.
Return | |
---|---|
RawInitiatorRangingConfig |
a configured instance of RawInitiatorRangingConfig . This value cannot be null . |