RangingParameters.Builder

public static class RangingParameters.Builder extends Object

Builder for creating RangingParameters.

Public Constructor Summary

Public Method Summary

RangingParameters.Builder
addPeerDevice(UwbDevice peerDevice)
Sets the peer which should be ranged against.
RangingParameters
build()
Builds a new instance of RangingParameters.
RangingParameters.Builder
setComplexChannel(UwbComplexChannel complexChannel)
Sets a complex channel.
RangingParameters.Builder
setRangingUpdateRate(int rangingUpdateRate)
Sets the update rate.
RangingParameters.Builder
setSessionId(int sessionId)
Sets the session Id.
RangingParameters.Builder
setSessionKeyInfo(byte[] sessionKeyInfo)
Sets the session key Info.
RangingParameters.Builder
setUwbConfigId(int uwbConfigId)
Sets the Config ID.

Inherited Method Summary

Public Constructors

public Builder ()

Public Methods

public RangingParameters.Builder addPeerDevice (UwbDevice peerDevice)

Sets the peer which should be ranged against.

public RangingParameters build ()

Builds a new instance of RangingParameters.

public RangingParameters.Builder setComplexChannel (UwbComplexChannel complexChannel)

Sets a complex channel. This should be set if using ROLE_CONTROLLEE.

public RangingParameters.Builder setRangingUpdateRate (int rangingUpdateRate)

Sets the update rate. Default is RangingParameters.RangingUpdateRate.FREQUENT.

public RangingParameters.Builder setSessionId (int sessionId)

Sets the session Id.

public RangingParameters.Builder setSessionKeyInfo (byte[] sessionKeyInfo)

Sets the session key Info.

public RangingParameters.Builder setUwbConfigId (int uwbConfigId)

Sets the Config ID. This parameter must be explicitly set