public static class UwbRangeDataNtfConfig.Builder extends Object
Creates a new instance of UwbRangeDataNtfConfig
.
Public Constructor Summary
Builder()
|
Public Method Summary
UwbRangeDataNtfConfig |
build()
Builds
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 ()
Builds UwbRangeDataNtfConfig
.
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
.