DiscoverySessionCallback.OnDataPathConnected 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 has been connected.
[Android.Runtime.Register("onDataPathConnected", "(Landroid/net/wifi/aware/PeerHandle;Landroid/net/wifi/aware/WifiAwareNetworkInfo;)V", "GetOnDataPathConnected_Landroid_net_wifi_aware_PeerHandle_Landroid_net_wifi_aware_WifiAwareNetworkInfo_Handler", ApiSince=37)]
public virtual void OnDataPathConnected(Android.Net.Wifi.Aware.PeerHandle peerHandle, Android.Net.Wifi.Aware.WifiAwareNetworkInfo info);
[<Android.Runtime.Register("onDataPathConnected", "(Landroid/net/wifi/aware/PeerHandle;Landroid/net/wifi/aware/WifiAwareNetworkInfo;)V", "GetOnDataPathConnected_Landroid_net_wifi_aware_PeerHandle_Landroid_net_wifi_aware_WifiAwareNetworkInfo_Handler", ApiSince=37)>]
abstract member OnDataPathConnected : Android.Net.Wifi.Aware.PeerHandle * Android.Net.Wifi.Aware.WifiAwareNetworkInfo -> unit
override this.OnDataPathConnected : Android.Net.Wifi.Aware.PeerHandle * Android.Net.Wifi.Aware.WifiAwareNetworkInfo -> unit
Parameters
- peerHandle
- PeerHandle
The peer's handle for the data path request.
- info
- WifiAwareNetworkInfo
The network information of the connected data path.
- Attributes
Remarks
Callback indicating that a data path has been connected.
Android reference for android.net.wifi.aware.DiscoverySessionCallback.onDataPathConnected.
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.