RangingResultStatusCode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies failure codes for an entire Wi-Fi RTT ranging request.
public enum RangingResultStatusCode
type RangingResultStatusCode =
- Inheritance
-
RangingResultStatusCode
Fields
| Name | Value | Description |
|---|---|---|
| Fail | 1 | A failure code for the whole ranging request operation. Indicates a failure. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| FailRttNotAvailable | 2 | A failure code for the whole ranging request operation. Indicates that the request failed due to RTT not being available - e.g. Wi-Fi was disabled. Use the WifiRttManager.isAvailable() and WifiRttManager.ACTION_WIFI_RTT_STATE_CHANGED to track RTT availability. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
Remarks
Used by OnRangingFailure(RangingResultStatusCode). These codes describe a request that could not be attempted, not the status of an individual peer's measurement.