Partager via


WifiP2pManager.RequestConnectionInfo Method

Definition

Request device connection info.

[Android.Runtime.Register("requestConnectionInfo", "(Landroid/net/wifi/p2p/WifiP2pManager$Channel;Landroid/net/wifi/p2p/WifiP2pManager$ConnectionInfoListener;)V", "GetRequestConnectionInfo_Landroid_net_wifi_p2p_WifiP2pManager_Channel_Landroid_net_wifi_p2p_WifiP2pManager_ConnectionInfoListener_Handler")]
public virtual void RequestConnectionInfo (Android.Net.Wifi.P2p.WifiP2pManager.Channel? channel, Android.Net.Wifi.P2p.WifiP2pManager.IConnectionInfoListener? listener);
[<Android.Runtime.Register("requestConnectionInfo", "(Landroid/net/wifi/p2p/WifiP2pManager$Channel;Landroid/net/wifi/p2p/WifiP2pManager$ConnectionInfoListener;)V", "GetRequestConnectionInfo_Landroid_net_wifi_p2p_WifiP2pManager_Channel_Landroid_net_wifi_p2p_WifiP2pManager_ConnectionInfoListener_Handler")>]
abstract member RequestConnectionInfo : Android.Net.Wifi.P2p.WifiP2pManager.Channel * Android.Net.Wifi.P2p.WifiP2pManager.IConnectionInfoListener -> unit
override this.RequestConnectionInfo : Android.Net.Wifi.P2p.WifiP2pManager.Channel * Android.Net.Wifi.P2p.WifiP2pManager.IConnectionInfoListener -> unit

Parameters

listener
WifiP2pManager.IConnectionInfoListener

for callback when connection info is available. Can be null.

Attributes

Remarks

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