Język

DiscoverySessionCallback.OnDataPathRequestFailed(PeerHandle, Int32) Method

Definition

Callback indicating that a data path request has failed.

[Android.Runtime.Register("onDataPathRequestFailed", "(Landroid/net/wifi/aware/PeerHandle;I)V", "GetOnDataPathRequestFailed_Landroid_net_wifi_aware_PeerHandle_IHandler", ApiSince=37)]
public virtual void OnDataPathRequestFailed(Android.Net.Wifi.Aware.PeerHandle peerHandle, int reason);
[<Android.Runtime.Register("onDataPathRequestFailed", "(Landroid/net/wifi/aware/PeerHandle;I)V", "GetOnDataPathRequestFailed_Landroid_net_wifi_aware_PeerHandle_IHandler", ApiSince=37)>]
abstract member OnDataPathRequestFailed : Android.Net.Wifi.Aware.PeerHandle * int -> unit
override this.OnDataPathRequestFailed : Android.Net.Wifi.Aware.PeerHandle * int -> unit

Parameters

peerHandle
PeerHandle

The peer's handle for the data path request.

reason
Int32

The reason for the data path connection failure.

Attributes

Remarks

Callback indicating that a data path request has failed.

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

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