public MediaPlayer(MediaPlayerId index) { Index = index; SourceType = MediaPlayerSource.Still; SourceIndex = 0; }
public static bool IsAvailable(this MediaPlayerId id, DeviceProfile profile) { return(id.IsValid() && (int)id < profile.MediaPlayers); }