示例#1
0
 private void OnAVPlayerItemFailedToPlayToEndTime(object sender, AVPlayerItemErrorEventArgs e)
 {
     Element.OnPlayError(sender, new VideoPlayer.PlayErrorEventArgs(player.Error?.Description));
 }
示例#2
0
 private void OnMediaFailedCore(object sender, AVPlayerItemErrorEventArgs args)
 => _target.GetTarget()?.OnMediaFailed(new Exception(args.Error.LocalizedDescription));