Skip to content

Most visited

Recently visited

navigation
Added in API level 16

WifiP2pManager.UpnpServiceResponseListener

public static interface WifiP2pManager.UpnpServiceResponseListener

android.net.wifi.p2p.WifiP2pManager.UpnpServiceResponseListener


Interface for callback invocation when upnp service discovery response is received

Summary

Public methods

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

The requested upnp service response is available.

Public methods

onUpnpServiceAvailable

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

The requested upnp service response is available.

This function is invoked when the specified device or service is found.

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.
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.