Added in API level 36
RawResponderRangingConfig.Builder
public
static
final
class
RawResponderRangingConfig.Builder
extends Object
| java.lang.Object | |
| ↳ | android.ranging.raw.RawResponderRangingConfig.Builder |
Builder class for constructing instances of ERROR(/RawResponderRangingParams).
Summary
Public constructors | |
|---|---|
Builder()
|
|
Public methods | |
|---|---|
RawResponderRangingConfig
|
build()
Builds and returns a new |
RawResponderRangingConfig.Builder
|
setRawRangingDevice(RawRangingDevice rangingDevice)
Sets the |
Inherited methods | |
|---|---|
Public constructors
Public methods
build
Added in API level 36
public RawResponderRangingConfig build ()
Builds and returns a new ERROR(/RawResponderRangingParams) instance.
| Returns | |
|---|---|
RawResponderRangingConfig |
a configured instance of ERROR(/RawResponderRangingParams).
This value cannot be null. |
setRawRangingDevice
Added in API level 36
public RawResponderRangingConfig.Builder setRawRangingDevice (RawRangingDevice rangingDevice)
Sets the RawRangingDevice for this responder session.
| Parameters | |
|---|---|
rangingDevice |
RawRangingDevice: the raw ranging device.
This value cannot be null. |
| Returns | |
|---|---|
RawResponderRangingConfig.Builder |
this Builder instance.
This value cannot be null. |