public static interface WifiP2pManager.ServiceResponseListener
Modifier and Type | Method and Description |
---|---|
void |
onServiceAvailable(int protocolType,
byte[] responseData,
WifiP2pDevice srcDevice)
The requested service response is available.
|
void onServiceAvailable(int protocolType, byte[] responseData, WifiP2pDevice srcDevice)
protocolType
- protocol type. currently only
WifiP2pServiceInfo.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.