RangingCapabilities

public class RangingCapabilities extends Object

Describes UWB ranging capabilities for the current device.

Constant Summary

boolean DEFAULT_SUPPORTS_RANGING_INTERVAL_RECONFIGURE Ranging interval reconfigure is not supported by default if the system API doesn't provide.
float FIRA_DEFAULT_MIN_SLOT_DURATION_MS Default supported minimum slot duration if the system API doesn't provide it.
int FIRA_DEFAULT_RANGING_INTERVAL_MS Default minimum ranging interval if the system API doesn't provide it.
int FIRA_DEFAULT_SUPPORTED_CHANNEL Default supported channel if the system API doesn't provide it.
int RANGE_DATA_NTF_ENABLE Default range data notification config if the system API doesn't provide it.

Field Summary

public static final List<Integer> DEFAULT_SUPPORTED_RANGING_UPDATE_RATES Default supported ranging interval if the system API doesn't provide it.
public static final List<Integer> DEFAULT_SUPPORTED_SLOT_DURATIONS Default supported slot duration if the system API doesn't provide it.
public static final List<Integer> FIRA_DEFAULT_SUPPORTED_CONFIG_IDS Default supported config id if the system API doesn't provide it.

Public Method Summary

boolean
int
getMinRangingInterval()
Gets the minimum supported ranging interval in milliseconds.
List<Integer>
getSupportedChannels()
Gets the supported channel number.
List<Integer>
getSupportedConfigIds()
Gets the supported config ids.
List<Integer>
getSupportedNtfConfigs()
Gets the supported range data notification configs.
List<Integer>
getSupportedRangingUpdateRates()
Gets the supported ranging interval in milliseconds.
List<Integer>
getSupportedSlotDurations()
Gets the supported slot duration in milliseconds.
boolean
hasBackgroundRangingSupport()
Whether a ranging session can be started when the app is in background.
int
boolean
supportsAzimuthalAngle()
Whether azimuthal angle of arrival is supported.
boolean
supportsDistance()
Whether distance ranging is supported.
boolean
supportsElevationAngle()
Whether elevation angle of arrival is supported.
boolean
supportsRangingIntervalReconfigure()
Whether ranging interval reconfigure is supported.
String

Inherited Method Summary

Constants

public static final boolean DEFAULT_SUPPORTS_RANGING_INTERVAL_RECONFIGURE

Ranging interval reconfigure is not supported by default if the system API doesn't provide.

Constant Value: false

public static final float FIRA_DEFAULT_MIN_SLOT_DURATION_MS

Default supported minimum slot duration if the system API doesn't provide it.

Constant Value: 2.0

public static final int FIRA_DEFAULT_RANGING_INTERVAL_MS

Default minimum ranging interval if the system API doesn't provide it.

Constant Value: 200

public static final int FIRA_DEFAULT_SUPPORTED_CHANNEL

Default supported channel if the system API doesn't provide it.

Constant Value: 9

public static final int RANGE_DATA_NTF_ENABLE

Default range data notification config if the system API doesn't provide it.

Constant Value: 1

Fields

public static final List<Integer> DEFAULT_SUPPORTED_RANGING_UPDATE_RATES

Default supported ranging interval if the system API doesn't provide it.

public static final List<Integer> DEFAULT_SUPPORTED_SLOT_DURATIONS

Default supported slot duration if the system API doesn't provide it.

public static final List<Integer> FIRA_DEFAULT_SUPPORTED_CONFIG_IDS

Default supported config id if the system API doesn't provide it.

Public Methods

public boolean equals (Object o)

public int getMinRangingInterval ()

Gets the minimum supported ranging interval in milliseconds.

public List<Integer> getSupportedChannels ()

Gets the supported channel number.

public List<Integer> getSupportedConfigIds ()

Gets the supported config ids.

public List<Integer> getSupportedNtfConfigs ()

Gets the supported range data notification configs.

public List<Integer> getSupportedRangingUpdateRates ()

Gets the supported ranging interval in milliseconds.

public List<Integer> getSupportedSlotDurations ()

Gets the supported slot duration in milliseconds.

public boolean hasBackgroundRangingSupport ()

Whether a ranging session can be started when the app is in background.

public int hashCode ()

public boolean supportsAzimuthalAngle ()

Whether azimuthal angle of arrival is supported.

public boolean supportsDistance ()

Whether distance ranging is supported.

public boolean supportsElevationAngle ()

Whether elevation angle of arrival is supported.

public boolean supportsRangingIntervalReconfigure ()

Whether ranging interval reconfigure is supported.

public String toString ()