WifiAwareDiscoveryLostReason 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.
Identifies why a Wi-Fi Aware service discovery match was lost.
public enum WifiAwareDiscoveryLostReason
type WifiAwareDiscoveryLostReason =
- Inheritance
-
WifiAwareDiscoveryLostReason
Fields
| Name | Value | Description |
|---|---|---|
| Unknown | 0 | Reason code provided in OnServiceLost(PeerHandle, Int32) indicating that the service was lost for an unknown reason. 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. |
| PeerNotVisible | 1 | Reason code provided in OnServiceLost(PeerHandle, Int32) indicating that the service advertised by the peer is no longer visible. This may be because the peer is out of range or because the peer stopped advertising this service. 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
This managed enumeration represents the Android service-lost callback reason codes. Loss of a discovery match does not, by itself, describe the state of a separate data path connection.