public void Stop() { try { if (_audioView != null) { _audioView.Pause(); _audioView.SeekTo(0); } } catch (Exception ex) { Log.Error("AudioView(Stop)", ex.Message); } }
public void Stop() { try { if (_videoView != null) { _videoView.Pause(); _videoView.SeekTo(0); this.Hide(); //_videoView.SetBackgroundDrawable(null); //_videoView.ClearFocus(); } } catch (Exception ex) { Log.Error("VideoView(Stop)", ex.Message); } }
void OnPauseRequested(object sender, EventArgs args) { videoView.Pause(); }