Ejemplo n.º 1
0
 public void searchAll() {
   if (m_upnpService != null) {
     Log.e(TAG, "Search invoke");
     m_upnpService.getRegistry().removeAllRemoteDevices();
     m_upnpService.getControlPoint().search();
   } else {
     Log.e(TAG, "Upnp Service = null");
   }
 }
Ejemplo n.º 2
0
 @SuppressWarnings("rawtypes")
 @Override
 public Collection<Device> getDMRList() {
   if (m_upnpService != null)
     return m_upnpService
         .getRegistry()
         .getDevices(new DeviceType("schemas-upnp-org", "MediaRenderer"));
   else {
     Log.e(TAG, "Upnp Service = null");
   }
   return new ArrayList<Device>();
 }
Ejemplo n.º 3
0
 public Registry getRegistry() {
   return m_upnpService.getRegistry();
 }