AI-generated Key Takeaways
-
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
, andsetRangeDataConfigType
are used to configure the range data notification settings.
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
.