Beispiel #1
0
 public void Stop()
 {
     try
     {
         if (_audioView != null)
         {
             _audioView.Pause();
             _audioView.SeekTo(0);
         }
     }
     catch (Exception ex)
     {
         Log.Error("AudioView(Stop)", ex.Message);
     }
 }
Beispiel #2
0
 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();
 }