DiscoverySessionCallback.OnDataPathDisconnected(PeerHandle) Method
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.
Called when the framework reports a data path disconnection.
[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
Either peer can trigger this callback by calling ReleaseDataPath(PeerHandle). A callback caused by a local release request can arrive before the Wi-Fi hardware confirms disconnection.
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.