Exemple #1
0
        public AudioILCE()
        {
            InitializeComponent();
            BindingContext = new RadioILCEViewModel();


            //PlayButton.Clicked += (sender, args) => audioPlayer.Play();
            //StopButton.Clicked += (sender, args) => audioPlayer.Stop();
        }
Exemple #2
0
 public RadioILCE()
 {
     InitializeComponent();
     BindingContext = new RadioILCEViewModel();
     //CrossMediaManager.Current.PlayingChanged += (sender, args) => progress.Progress = args.Progress;
     //CrossMediaManager.Current.Play(audioUrl, MediaFileType.Video);
     //MyVideoView.Source = audioUrl;
     //PlayButto.Clicked += (sender, args) => CrossMediaManager.Current.PlaybackController.Play();
     //StopButto.Clicked += (sender, args) => CrossMediaManager.Current.PlaybackController.Stop();
 }