Example usage for Java android.net.wifi.p2p WifiP2pManager fields, constructors, methods, implement or subclass
The text is from its open source code.
String | WIFI_P2P_STATE_CHANGED_ACTION Broadcast intent action to indicate whether Wi-Fi p2p is enabled or disabled. |
String | EXTRA_WIFI_STATE The lookup key for an int that indicates whether Wi-Fi p2p is enabled or disabled. |
int | WIFI_P2P_STATE_ENABLED Wi-Fi p2p is enabled. |
String | WIFI_P2P_CONNECTION_CHANGED_ACTION Broadcast intent action indicating that the state of Wi-Fi p2p connectivity has changed. |
String | EXTRA_NETWORK_INFO The lookup key for a android.net.NetworkInfo object associated with the p2p network. |
String | WIFI_P2P_PEERS_CHANGED_ACTION Broadcast intent action indicating that the available peer list has changed. |
String | WIFI_P2P_THIS_DEVICE_CHANGED_ACTION Broadcast intent action indicating that this device details have changed. |
String | EXTRA_WIFI_P2P_DEVICE The lookup key for a android.net.wifi.p2p.WifiP2pDevice object Retrieve with android.content.Intent#getParcelableExtra(String) . |
void | discoverPeers(Channel c, ActionListener listener) Initiate peer discovery. |
Class> | getClass() Returns the runtime class of this Object . |
Channel | initialize(Context srcContext, Looper srcLooper, ChannelListener listener) Registers the application with the Wi-Fi framework. |