public bool GetMediaModeState(MediaMode mediaMode) { return(_mediaPlayer.settings.getMode(mediaMode.ToString())); }
/// <summary> /// Enables or disables specific modes pertaining to media (mostly playback). (Enum bit flagging not implemented) /// AutoRewind: Mode indicating whether the tracks are rewound to the beginning after playing to the end. Default state is true. /// Loop: Mode indicating whether the sequence of tracks repeats itself. Default state is false. /// ShowFrame: Mode indicating whether the nearest video key frame is displayed at the current position /// when not playing. Default state is false. Has no effect on audio tracks. /// Shuffle: Mode indicating whether the tracks are played in random order. Default state is false. /// </summary> public void SetMediaMode(MediaMode mediaMode, bool setState) { _mediaPlayer.settings.setMode(mediaMode.ToString(), setState); }