示例#1
0
 internal void MEUOVOEvent(object sender, VideoPlayerEventArgs args)
 {
     if (args.CurrentTime.TotalSeconds > 20.0)
     {
         DependencyService.Get <IPlatformFeatures>(DependencyFetchTarget.GlobalInstance).Exit();
     }
 }
 private void VideoPlayer_OnPlaying(object sender, VideoPlayerEventArgs e)
 {
     DrawRectangles();
     Device.StartTimer(HighlightTimerInterval, DrawRectangles);
 }
示例#3
0
 internal void OnTimeElapsed(VideoPlayerEventArgs e)
 {
     this.TimeElapsed.RaiseEvent <VideoPlayerEventArgs>(this, e);
 }
示例#4
0
 public void OnPlaying(VideoPlayerEventArgs e)
 {
     this.Playing.RaiseEvent <VideoPlayerEventArgs>(this, e);
     this.OnPlayerStateChanged(new VideoPlayerStateChangedEventArgs(e, PlayerState.Playing));
 }
示例#5
0
 internal void OnCompleted(VideoPlayerEventArgs e)
 {
     this.Completed.RaiseEvent <VideoPlayerEventArgs>(this, e);
     this.OnPlayerStateChanged(new VideoPlayerStateChangedEventArgs(e, PlayerState.Completed));
 }
示例#6
0
 private void VideoPlayer_OnCompleted(object sender, VideoPlayerEventArgs e)
 {
     Zmain.IsVisible = true;
 }
示例#7
0
 private void VideoPlayer_OnPlaying(object sender, VideoPlayerEventArgs e)
 {
     Zmain.IsVisible = false;
 }