Back to project page DroidUPnP.
The source code is released under:
GNU General Public License
If you think the Android project DroidUPnP listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package org.droidupnp.model.upnp; /*from ww w . j ava2 s .c om*/ public class CallableContentDirectoryFilter implements ICallableFilter { private IUpnpDevice device; public void setDevice(IUpnpDevice device) { this.device = device; } @Override public Boolean call() throws Exception { return device.asService("ContentDirectory"); } }