Ejemplo n.º 1
0
 public static void PlayerViewDidPlayTime(this IYTPlayerViewDelegate This, YTPlayerView playerView, float playTime)
 {
     if (playerView == null)
     {
         throw new ArgumentNullException("playerView");
     }
     global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr_float(This.Handle, Selector.GetHandle("playerView:didPlayTime:"), playerView.Handle, playTime);
 }
Ejemplo n.º 2
0
 public static void PlayerViewReceivedError(this IYTPlayerViewDelegate This, YTPlayerView playerView, YTPlayerError error)
 {
     if (playerView == null)
     {
         throw new ArgumentNullException("playerView");
     }
     global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr_int(This.Handle, Selector.GetHandle("playerView:receivedError:"), playerView.Handle, (int)error);
 }
Ejemplo n.º 3
0
 public static void PlayerViewDidBecomeReady(this IYTPlayerViewDelegate This, YTPlayerView playerView)
 {
     if (playerView == null)
     {
         throw new ArgumentNullException("playerView");
     }
     global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr(This.Handle, Selector.GetHandle("playerViewDidBecomeReady:"), playerView.Handle);
 }
Ejemplo n.º 4
0
 public static void PlayerViewDidChangeToQuality(this IYTPlayerViewDelegate This, YTPlayerView playerView, YTPlaybackQuality quality)
 {
     if (playerView == null)
     {
         throw new ArgumentNullException("playerView");
     }
     global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr_int(This.Handle, Selector.GetHandle("playerView:didChangeToQuality:"), playerView.Handle, (int)quality);
 }
Ejemplo n.º 5
0
 public static global::UIKit.UIView PlayerViewPreferredInitialLoadingView(this IYTPlayerViewDelegate This, YTPlayerView playerView)
 {
     if (playerView == null)
     {
         throw new ArgumentNullException("playerView");
     }
     return(Runtime.GetNSObject <global::UIKit.UIView> (global::ApiDefinition.Messaging.IntPtr_objc_msgSend_IntPtr(This.Handle, Selector.GetHandle("playerViewPreferredInitialLoadingView:"), playerView.Handle)));
 }