Пример #1
0
 public MediaPlayer(MediaPlayerId index)
 {
     Index       = index;
     SourceType  = MediaPlayerSource.Still;
     SourceIndex = 0;
 }
Пример #2
0
 public static bool IsAvailable(this MediaPlayerId id, DeviceProfile profile)
 {
     return(id.IsValid() && (int)id < profile.MediaPlayers);
 }