UwbRangeDataNtfConfig.Builder

  • UwbRangeDataNtfConfig.Builder is a class used to create instances of UwbRangeDataNtfConfig.

  • It has a public constructor and several public methods for setting configuration parameters.

  • The build() method creates the UwbRangeDataNtfConfig object and can throw exceptions if the configuration is invalid.

  • Methods like setNtfProximityFar, setNtfProximityNear, and setRangeDataConfigType are used to configure the range data notification settings.

public static class UwbRangeDataNtfConfig.Builder extends Object

Creates a new instance of UwbRangeDataNtfConfig.

Public Constructor Summary

Public Method Summary

UwbRangeDataNtfConfig
UwbRangeDataNtfConfig.Builder
setNtfProximityFar(int ntfProximityFar)
Sets the proximity far distance in centimeters (0 <= near <= far <= 20,000).
UwbRangeDataNtfConfig.Builder
setNtfProximityNear(int ntfProximityNear)
Sets the proximity near distance in centimeters (0 <= near <= far <= 20,000).
UwbRangeDataNtfConfig.Builder
setRangeDataConfigType(int rangeDataConfigType)
Sets the range data notification config type of UwbRangeDataNtfConfig.RangeDataNtfConfig.

Inherited Method Summary

Public Constructors

public Builder ()

Public Methods

public UwbRangeDataNtfConfig build ()

Throws
IllegalArgumentException if config type is not in UwbRangeDataNtfConfig.RangeDataNtfConfig.
IllegalArgumentException if (0 <= near <= far <= 20,000) is not satified.

public UwbRangeDataNtfConfig.Builder setNtfProximityFar (int ntfProximityFar)

Sets the proximity far distance in centimeters (0 <= near <= far <= 20,000).

public UwbRangeDataNtfConfig.Builder setNtfProximityNear (int ntfProximityNear)

Sets the proximity near distance in centimeters (0 <= near <= far <= 20,000).

public UwbRangeDataNtfConfig.Builder setRangeDataConfigType (int rangeDataConfigType)

Sets the range data notification config type of UwbRangeDataNtfConfig.RangeDataNtfConfig.