Java android.net.wifi.p2p WifiP2pManager fields, constructors, methods, implement or subclass

Example usage for Java android.net.wifi.p2p WifiP2pManager fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.net.wifi.p2p WifiP2pManager.

The text is from its open source code.

Field

StringWIFI_P2P_STATE_CHANGED_ACTION
Broadcast intent action to indicate whether Wi-Fi p2p is enabled or disabled.
StringEXTRA_WIFI_STATE
The lookup key for an int that indicates whether Wi-Fi p2p is enabled or disabled.
intWIFI_P2P_STATE_ENABLED
Wi-Fi p2p is enabled.
StringWIFI_P2P_CONNECTION_CHANGED_ACTION
Broadcast intent action indicating that the state of Wi-Fi p2p connectivity has changed.
StringEXTRA_NETWORK_INFO
The lookup key for a android.net.NetworkInfo object associated with the p2p network.
StringWIFI_P2P_PEERS_CHANGED_ACTION
Broadcast intent action indicating that the available peer list has changed.
StringWIFI_P2P_THIS_DEVICE_CHANGED_ACTION
Broadcast intent action indicating that this device details have changed.
StringEXTRA_WIFI_P2P_DEVICE
The lookup key for a android.net.wifi.p2p.WifiP2pDevice object Retrieve with android.content.Intent#getParcelableExtra(String) .

Method

voiddiscoverPeers(Channel c, ActionListener listener)
Initiate peer discovery.
ClassgetClass()
Returns the runtime class of this Object .
Channelinitialize(Context srcContext, Looper srcLooper, ChannelListener listener)
Registers the application with the Wi-Fi framework.