Added in API level 36
Builder
class Builder
| kotlin.Any | |
| ↳ | android.ranging.raw.RawResponderRangingConfig.Builder |
Builder class for constructing instances of RawResponderRangingParams.
Summary
| Public constructors | |
|---|---|
Builder() |
|
| Public methods | |
|---|---|
| RawResponderRangingConfig |
build()Builds and returns a new RawResponderRangingParams instance. |
| RawResponderRangingConfig.Builder |
setRawRangingDevice(rangingDevice: RawRangingDevice)Sets the |
Public constructors
Public methods
build
Added in API level 36
fun build(): RawResponderRangingConfig
Builds and returns a new RawResponderRangingParams instance.
| Return | |
|---|---|
RawResponderRangingConfig |
a configured instance of RawResponderRangingParams. This value cannot be null. |
setRawRangingDevice
Added in API level 36
fun setRawRangingDevice(rangingDevice: RawRangingDevice): RawResponderRangingConfig.Builder
Sets the android.ranging.raw.RawRangingDevice for this responder session.
| Parameters | |
|---|---|
rangingDevice |
RawRangingDevice: the raw ranging device. This value cannot be null. |
| Return | |
|---|---|
RawResponderRangingConfig.Builder |
this Builder instance. This value cannot be null. |