public VideoViewExtends(Context context, string path) : base(context) { this.context = context; this.state = new VideoViewState(); this.SetVideoPath(path); this.InitPicture(); this.SetEventOnTouch(); }
public VideoViewExtends(Context context) : base(context) { this.context = context; this.state = new VideoViewState(); }
public void OnResume() { this.SeekTo(this.CurrentPosition); this.Start(); this.state = VideoViewState.Playing; }
public void OnStop() { this.SeekTo(0); this.Start(); this.state = VideoViewState.Stop; }
public void OnPause() { this.Pause(); this.state = VideoViewState.Resume; }
public void OnStart() { this.Start(); this.state = VideoViewState.Playing; }