Most visited

Recently visited

Added in API level 16

WifiP2pManager.UpnpServiceResponseListener

public static interface WifiP2pManager.UpnpServiceResponseListener

android.net.wifi.p2p.WifiP2pManager.UpnpServiceResponseListener


接收upnp服务发现响应时的回调调用接口

Summary

Public methods

abstract void onUpnpServiceAvailable(List<String> uniqueServiceNames, WifiP2pDevice srcDevice)

请求的upnp服务响应可用。

Public methods

onUpnpServiceAvailable

Added in API level 16
void onUpnpServiceAvailable (List<String> uniqueServiceNames, 
                WifiP2pDevice srcDevice)

请求的upnp服务响应可用。

当找到指定的设备或服务时调用此函数。

Parameters
uniqueServiceNames List: The list of unique service names.
e.g) uuid:6859dede-8574-59ab-9332-123456789012::urn:schemas-upnp-org:device: MediaServer:1
srcDevice WifiP2pDevice: source device.

Hooray!