Language

DiscoverySessionCallback.OnDataPathDisconnected(PeerHandle) Method

Definition

Callback indicating that a data path has been disconnected.

[Android.Runtime.Register("onDataPathDisconnected", "(Landroid/net/wifi/aware/PeerHandle;)V", "GetOnDataPathDisconnected_Landroid_net_wifi_aware_PeerHandle_Handler", ApiSince=37)]
public virtual void OnDataPathDisconnected(Android.Net.Wifi.Aware.PeerHandle peerHandle);
[<Android.Runtime.Register("onDataPathDisconnected", "(Landroid/net/wifi/aware/PeerHandle;)V", "GetOnDataPathDisconnected_Landroid_net_wifi_aware_PeerHandle_Handler", ApiSince=37)>]
abstract member OnDataPathDisconnected : Android.Net.Wifi.Aware.PeerHandle -> unit
override this.OnDataPathDisconnected : Android.Net.Wifi.Aware.PeerHandle -> unit

Parameters

peerHandle
PeerHandle

The peer's handle for the data path request.

Attributes

Remarks

Callback indicating that a data path has been disconnected. Could be triggered by either side calling DiscoverySession.releaseDataPath(PeerHandle).

Android reference for android.net.wifi.aware.DiscoverySessionCallback.onDataPathDisconnected.

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