void ExtMediaController.IMediaPlayerControl.Start() { ExtStickyServ.Play(); }
public void VideoView_OnClick(object sender, EventArgs e) { if (!MainPlaybackSticky.MediaControllerDictionary.ContainsKey(MainActivity.ViewPager.CurrentItem)) { MainPlaybackSticky.MediaControllerDictionary.Add(MainActivity.ViewPager.CurrentItem, ExtStickyServ.InitializeMediaController(this.Context)); } MainPlaybackSticky.MediaControllerDictionary[MainActivity.ViewPager.CurrentItem].SetAnchorView((View)FragmentContainerLayout.Parent); try { MainPlaybackSticky.MediaControllerDictionary[MainActivity.ViewPager.CurrentItem].Enabled = true; MainPlaybackSticky.MediaControllerDictionary[MainActivity.ViewPager.CurrentItem].Show(6000); } catch (Exception ex) { System.Console.WriteLine(ex.Message); } }
void ExtMediaController.IMediaPlayerControl.Pause() { ExtStickyServ.Pause(); }