Added in API level 36
    Builder
class Builder
| kotlin.Any | |
| ↳ | android.ranging.RangingDevice.Builder | 
A builder class for creating instances of RangingDevice.
Summary
| Public constructors | |
|---|---|
| Builder() | |
| Public methods | |
|---|---|
| RangingDevice | build()Builds a new instance of  | 
| RangingDevice.Builder | Sets the UUID for the device. | 
Public constructors
Public methods
build
Added in API level 36
      fun build(): RangingDevice
Builds a new instance of RangingDevice with the provided configuration.
| Return | |
|---|---|
| RangingDevice | A new RangingDeviceinstance. This value cannot benull. | 
setUuid
Added in API level 36
      fun setUuid(id: UUID): RangingDevice.Builder
Sets the UUID for the device.
| Parameters | |
|---|---|
| id | UUID: The UUIDto assign to the device. This value cannot benull. | 
| Return | |
|---|---|
| RangingDevice.Builder | This Builderinstance. This value cannot benull. | 
| Exceptions | |
|---|---|
| java.lang.IllegalArgumentException | if the provided UUID is null. | 
