public static boolean isMediaRenderer(Device d) {
   String t = d.getType().getType();
   for (DeviceType r : mediaRendererTypes) {
     if (r.getType().equals(t)) {
       return true;
     }
   }
   return false;
 }
Exemple #2
0
 public DeviceType createDeviceType() {
   return DeviceType.valueOf(deviceType);
 }