Language

WifiAwareDiscoveryLostReason Enum

Definition

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.

Android reference for android.net.wifi.aware.WifiAwareManager.WIFI_AWARE_DISCOVERY_LOST_REASON_UNKNOWN.

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.

Android reference for android.net.wifi.aware.WifiAwareManager.WIFI_AWARE_DISCOVERY_LOST_REASON_PEER_NOT_VISIBLE.

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.

Applies to