Partager via


WifiAwareManager.WifiAwareDiscoveryLostReasonPeerNotVisible Field

Definition

Caution

This constant will be removed in the future version. Use Android.Net.Wifi.Aware.WifiAwareDiscoveryLostReason enum directly instead of this field.

Reason code provided in DiscoverySessionCallback#onServiceLost(PeerHandle, int) indicating that the service advertised by the peer is no longer visible.

[Android.Runtime.Register("WIFI_AWARE_DISCOVERY_LOST_REASON_PEER_NOT_VISIBLE", ApiSince=31)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Net.Wifi.Aware.WifiAwareDiscoveryLostReason enum directly instead of this field.", true)]
public const Android.Net.Wifi.Aware.WifiAwareDiscoveryLostReason WifiAwareDiscoveryLostReasonPeerNotVisible = 1;
[<Android.Runtime.Register("WIFI_AWARE_DISCOVERY_LOST_REASON_PEER_NOT_VISIBLE", ApiSince=31)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Net.Wifi.Aware.WifiAwareDiscoveryLostReason enum directly instead of this field.", true)>]
val mutable WifiAwareDiscoveryLostReasonPeerNotVisible : Android.Net.Wifi.Aware.WifiAwareDiscoveryLostReason

Field Value

Value = 1
Attributes

Remarks

Reason code provided in DiscoverySessionCallback#onServiceLost(PeerHandle, int) 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.

Java documentation 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.

Applies to