to top
Android APIs
Added in API level 16
public static interface

WifiP2pManager.UpnpServiceResponseListener

android.net.wifi.p2p.WifiP2pManager.UpnpServiceResponseListener

Class Overview

Interface for callback invocation when upnp service discovery response is received

Summary

Public Methods

? Examples
abstract void onUpnpServiceAvailable( List< String> uniqueServiceNames, WifiP2pDevice srcDevice)
The requested upnp service response is available.

Public Methods

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

Added in API level 16

The requested upnp service response is available.

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

Parameters
uniqueServiceNames The list of unique service names.
e.g) uuid:6859dede-8574-59ab-9332-123456789012::urn:schemas-upnp-org:device: MediaServer:1
srcDevice source device.
No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.