# Print output for @column tags ?>
Developers

- Design
- Develop
- Distribute

Developer Console

## Most visited

## Recently visited

## Results for

# WifiP2pManager.P2pStateListener

`public static interface WifiP2pManager.P2pStateListener`
``

android.net.wifi.p2p.WifiP2pManager.P2pStateListener

Interface for callback invocation when p2p state is available in response to `WifiP2pManager.requestP2pState(WifiP2pManager.Channel, WifiP2pManager.P2pStateListener)`.

## Summary

### Public methods
`abstract void` | `onP2pStateAvailable(int state)` The requested p2p state is available.

## Public methods

### onP2pStateAvailable

    public abstract void onP2pStateAvailable (int state)

The requested p2p state is available.

Parameters
`state` | `int`: Wi-Fi p2p state Value is `WifiP2pManager.WIFI_P2P_STATE_DISABLED`, or `WifiP2pManager.WIFI_P2P_STATE_ENABLED`

See also:

- `WifiP2pManager.WIFI_P2P_STATE_DISABLED`
- `WifiP2pManager.WIFI_P2P_STATE_ENABLED`

Full name *
Email address *
Company / developer name
One of your Play Store app URLs *
Which best describes your business:*
Apps
Games
Apps & Games
*
*