コード例 #1
0
 /// <summary>
 /// Called when a new DLNA device has been detected
 /// </summary>
 /// <param name="device"></param>
 public void NewDeviceDetected(PlaybackDevice device) => PlaybackSelectionController.NewDeviceDetected(device);
コード例 #2
0
 /// <summary>
 /// Called to report the available devices - when registration is first made
 /// </summary>
 /// <param name="devices"></param>
 public void AvailableDevices(PlaybackDevices devices) => devices.DeviceCollection.ForEach(device => PlaybackSelectionController.NewDeviceDetected(device));