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); }
internal void OnTimeElapsed(VideoPlayerEventArgs e) { this.TimeElapsed.RaiseEvent <VideoPlayerEventArgs>(this, e); }
public void OnPlaying(VideoPlayerEventArgs e) { this.Playing.RaiseEvent <VideoPlayerEventArgs>(this, e); this.OnPlayerStateChanged(new VideoPlayerStateChangedEventArgs(e, PlayerState.Playing)); }
internal void OnCompleted(VideoPlayerEventArgs e) { this.Completed.RaiseEvent <VideoPlayerEventArgs>(this, e); this.OnPlayerStateChanged(new VideoPlayerStateChangedEventArgs(e, PlayerState.Completed)); }
private void VideoPlayer_OnCompleted(object sender, VideoPlayerEventArgs e) { Zmain.IsVisible = true; }
private void VideoPlayer_OnPlaying(object sender, VideoPlayerEventArgs e) { Zmain.IsVisible = false; }