# Print output for @column tags ?>
Developers

- Design
- Develop
- Distribute

Developer Console

## Most visited

## Recently visited

## Results for

# WifiP2pManager.ServiceResponseListener

`public static interface WifiP2pManager.ServiceResponseListener`
``

android.net.wifi.p2p.WifiP2pManager.ServiceResponseListener

Interface for callback invocation when service discovery response other than Upnp or Bonjour is received

## Summary

### Public methods
`abstract void` | `onServiceAvailable(int protocolType, byte[] responseData, WifiP2pDevice srcDevice)` The requested service response is available.

## Public methods

### onServiceAvailable

    public abstract void onServiceAvailable (int protocolType,
                    byte[] responseData,
                    WifiP2pDevice srcDevice)

The requested service response is available.

Parameters
`protocolType` | `int`: protocol type. currently only `WifiP2pServiceInfo#SERVICE_TYPE_VENDOR_SPECIFIC`.
`responseData` | `byte`: service discovery response data based on the requested service protocol type. The format depends on the service type.
`srcDevice` | `WifiP2pDevice`: source device.

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