Пример #1
0
        public bool OnError(Android.Media.MediaPlayer mp, Android.Media.MediaError what, int extra)
        {
            this.ParentElement.HasError     = true;
            this.ParentElement.ErrorMessage = what.ToString();

            this._HasEnded = true;
            // true handle, false allow pass
            return(false);
        }
Пример #2
0
 static bool HandleError(AMP mp, MediaError what, int extra)
 {
     lock(lockObject)
     {
         DoPlayerReset();
         return true;
     }
 }
Пример #3
0
 public bool OnError(Android.Media.MediaPlayer mp, Android.Media.MediaError what, int extra)
 {
     this.RootPlayer.FireError(what.ToString());
     return(true);
 }