# Print output for @column tags ?>
Developers

- Design
- Develop
- Distribute

Developer Console

## Most visited

## Recently visited

## Results for

# WifiP2pManager.DiscoveryStateListener

`public static interface WifiP2pManager.DiscoveryStateListener`
``

android.net.wifi.p2p.WifiP2pManager.DiscoveryStateListener

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

## Summary

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

## Public methods

### onDiscoveryStateAvailable

    public abstract void onDiscoveryStateAvailable (int state)

The requested p2p discovery state is available.

Parameters
`state` | `int`: Wi-Fi p2p discovery state Value is `WifiP2pManager.WIFI_P2P_DISCOVERY_STOPPED`, or `WifiP2pManager.WIFI_P2P_DISCOVERY_STARTED`

See also:

- `WifiP2pManager.WIFI_P2P_DISCOVERY_STARTED`
- `WifiP2pManager.WIFI_P2P_DISCOVERY_STOPPED`

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