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"); } }
@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>(); }
public Registry getRegistry() { return m_upnpService.getRegistry(); }