WifiP2pManager.Initialize 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.
Registers the application with the Wi-Fi framework.
[Android.Runtime.Register("initialize", "(Landroid/content/Context;Landroid/os/Looper;Landroid/net/wifi/p2p/WifiP2pManager$ChannelListener;)Landroid/net/wifi/p2p/WifiP2pManager$Channel;", "GetInitialize_Landroid_content_Context_Landroid_os_Looper_Landroid_net_wifi_p2p_WifiP2pManager_ChannelListener_Handler")]
public virtual Android.Net.Wifi.P2p.WifiP2pManager.Channel? Initialize (Android.Content.Context? srcContext, Android.OS.Looper? srcLooper, Android.Net.Wifi.P2p.WifiP2pManager.IChannelListener? listener);
[<Android.Runtime.Register("initialize", "(Landroid/content/Context;Landroid/os/Looper;Landroid/net/wifi/p2p/WifiP2pManager$ChannelListener;)Landroid/net/wifi/p2p/WifiP2pManager$Channel;", "GetInitialize_Landroid_content_Context_Landroid_os_Looper_Landroid_net_wifi_p2p_WifiP2pManager_ChannelListener_Handler")>]
abstract member Initialize : Android.Content.Context * Android.OS.Looper * Android.Net.Wifi.P2p.WifiP2pManager.IChannelListener -> Android.Net.Wifi.P2p.WifiP2pManager.Channel
override this.Initialize : Android.Content.Context * Android.OS.Looper * Android.Net.Wifi.P2p.WifiP2pManager.IChannelListener -> Android.Net.Wifi.P2p.WifiP2pManager.Channel
Parameters
- srcContext
- Context
is the context of the source
- srcLooper
- Looper
is the Looper on which the callbacks are receivied
- listener
- WifiP2pManager.IChannelListener
for callback at loss of framework communication. Can be null.
Returns
- 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.