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"); } }
@Override public void setCurrentDMR(UDN uDN) { if (m_upnpService != null) m_upnpService.setCurrentDMR(uDN); 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>(); }
@Override public DMRProcessor getDMRProcessor() { return m_upnpService != null ? m_upnpService.getDMRProcessor() : null; }
@Override public PlaylistProcessor getPlaylistProcessor() { return m_upnpService != null ? m_upnpService.getPlaylistProcessor() : null; }
@SuppressWarnings("rawtypes") @Override public Device getCurrentDMR() { return m_upnpService != null ? m_upnpService.getCurrentDMR() : null; }
public ControlPoint getControlPoint() { return m_upnpService != null ? m_upnpService.getControlPoint() : null; }
public Registry getRegistry() { return m_upnpService.getRegistry(); }