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); }
static bool HandleError(AMP mp, MediaError what, int extra) { lock(lockObject) { DoPlayerReset(); return true; } }
public bool OnError(Android.Media.MediaPlayer mp, Android.Media.MediaError what, int extra) { this.RootPlayer.FireError(what.ToString()); return(true); }