RangingSessionCallbackReason 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.
public enum RangingSessionCallbackReason
type RangingSessionCallbackReason =
- Inheritance
-
RangingSessionCallbackReason
Fields
| Name | Value | Description |
|---|---|---|
| Unknown | 0 | Indicates that the session was closed due to an unknown reason. 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. |
| LocalRequest | 1 | Indicates that the session was closed because AutoCloseable.close() or RangingSession.stop() was called. 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. |
| RemoteRequest | 2 | Indicates that the session was closed at the request of a remote peer. 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. |
| Unsupported | 3 | Indicates that the session closed because the provided session parameters were not supported. 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. |
| SystemPolicy | 4 | Indicates that the local system policy forced the session to close, such as power management policy, airplane mode etc. 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. |
| NoPeersFound | 5 | Indicates that the session was closed because none of the specified peers were found. 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. |