RangingParameters.RangingUpdateRate
Stay organized with collections
Save and categorize content based on your preferences.
Update rate settings. The corresponding ranging interval (in milliseconds) for each
combination of update rate and UwbConfigId
is shown in the table below.
___________________________________________________________
| CONFIG_ID | AUTOMATIC | FREQUENT | INFREQUENT |
|-----------------|------------|--------------|-------------|
| CONFIG_ID_1 | 240 | 120 | 600 |
| CONFIG_ID_2 | 200 | 120 | 600 |
| CONFIG_ID_3 | 200 | 120 | 600 |
| CONFIG_ID_4 | 240 | 120 | 600 |
| CONFIG_ID_5 | 200 | 120 | 600 |
| CONFIG_ID_6 | 200 | 120 | 600 |
| CONFIG_ID_7 | 200 | 120 | 600 |
|___________________________________________________________|
It is recommended to query ranging capabilities to check supported ranging update rate for
each new session. If multiple sessions are opened with
Frequent
, it will no longer be
available and the app may have to use
Automatic
or
Infrequent
.
Constant Summary
int |
AUTOMATIC
|
Automatically changing the reporting rate when
screen is on or off. |
int |
FREQUENT
|
Reports ranging data frequently. |
int |
INFREQUENT
|
Reports ranging data infrequently. |
int |
UNKNOWN
|
Invalid Update Rate Setting |
Inherited Method Summary
From interface java.lang.annotation.Annotation
abstract Class<? extends Annotation>
|
annotationType()
|
abstract boolean |
|
abstract int |
hashCode()
|
abstract String
|
toString()
|
Constants
public static final int
AUTOMATIC
Automatically changing the reporting rate when screen is on or off. The ranging
interval is set to 240 milliseconds when using CONFIG_ID_1
and
CONFIG_ID_4
. In other cases, the ranging interval is set to 200
milliseconds.
Constant Value: 1
public static final int
FREQUENT
Reports ranging data frequently. The ranging interval is set to 120 milliseconds for
this update rate.
Constant Value: 3
public static final int
INFREQUENT
Reports ranging data infrequently. The ranging interval is set to 600 milliseconds
for this update rate.
Constant Value: 2
public static final int
UNKNOWN
Invalid Update Rate Setting
Constant Value: 0
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-09-25 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-09-25 UTC."],[[["`RangingUpdateRate` controls the frequency of distance measurement updates during UWB ranging sessions."],["You can choose between automatic, frequent, and infrequent update rates, each with varying intervals as shown in the provided table."],["It's recommended to check supported update rates for each session, as frequent updates might not always be available if multiple sessions are using it."],["Ranging intervals depend on the chosen `UwbConfigId` and update rate, with frequent updates offering the fastest interval of 120 milliseconds."],["`AUTOMATIC` update rate dynamically adjusts the ranging interval based on screen state, defaulting to 200-240 milliseconds."]]],[]]