RangingCapabilities

public classRangingCapabilitiesextendsObject

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 finalList<Integer> DEFAULT_SUPPORTED_RANGING_UPDATE_RATES Default supported ranging interval if the system API doesn't provide it.
public static finalList<Integer> DEFAULT_SUPPORTED_SLOT_DURATIONS Default supported slot duration if the system API doesn't provide it.
public static finalList<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 finalList<Integer> DEFAULT_SUPPORTED_RANGING_UPDATE_RATES

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

public static finalList<Integer> DEFAULT_SUPPORTED_SLOT_DURATIONS

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

public static finalList<Integer> FIRA_DEFAULT_SUPPORTED_CONFIG_IDS

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

Public Methods

public booleanequals(Objecto)

public intgetMinRangingInterval()

Gets the minimum supported ranging interval in milliseconds.

publicList<Integer> getSupportedChannels()

Gets the supported channel number.

publicList<Integer> getSupportedConfigIds()

Gets the supported config ids.

publicList<Integer> getSupportedNtfConfigs()

Gets the supported range data notification configs.

publicList<Integer> getSupportedRangingUpdateRates()

Gets the supported ranging interval in milliseconds.

publicList<Integer> getSupportedSlotDurations()

Gets the supported slot duration in milliseconds.

public booleanhasBackgroundRangingSupport()

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

public inthashCode()

public booleansupportsAzimuthalAngle()

Whether azimuthal angle of arrival is supported.

public booleansupportsDistance()

Whether distance ranging is supported.

public booleansupportsElevationAngle()

Whether elevation angle of arrival is supported.

public booleansupportsRangingIntervalReconfigure()

Whether ranging interval reconfigure is supported.

publicStringtoString()