Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public static interface

WifiP2pManager.ServiceResponseListener

android.net.wifi.p2p.WifiP2pManager.ServiceResponseListener

Class Overview

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

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

The requested service response is available.

Parameters
protocolType protocol type. currently only SERVICE_TYPE_VENDOR_SPECIFIC .
responseData service discovery response data based on the requested service protocol type. The format depends on the service type.
srcDevice source device.