DiscoverySessionCallback.OnDataPathRequestReceived(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.
Callback indicating that a data path request has been received.
[Android.Runtime.Register("onDataPathRequestReceived", "(Landroid/net/wifi/aware/PeerHandle;)V", "GetOnDataPathRequestReceived_Landroid_net_wifi_aware_PeerHandle_Handler", ApiSince=37)]
public virtual void OnDataPathRequestReceived(Android.Net.Wifi.Aware.PeerHandle peerHandle);
[<Android.Runtime.Register("onDataPathRequestReceived", "(Landroid/net/wifi/aware/PeerHandle;)V", "GetOnDataPathRequestReceived_Landroid_net_wifi_aware_PeerHandle_Handler", ApiSince=37)>]
abstract member OnDataPathRequestReceived : Android.Net.Wifi.Aware.PeerHandle -> unit
override this.OnDataPathRequestReceived : Android.Net.Wifi.Aware.PeerHandle -> unit
Parameters
- peerHandle
- PeerHandle
The peer's handle for the data path request.
- Attributes
Remarks
Call AcceptDataPathRequest(PeerHandle, AwareDataPathRequest) to accept the request or RejectDataPathRequest(PeerHandle) to reject it.
Android reference for android.net.wifi.aware.DiscoverySessionCallback.onDataPathRequestReceived.
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.