Exemple #1
0
        public void NotificationDidDismiss(CTInAppNotification notification, CTInAppDisplayViewController controller)
        {
            var notification__handle__ = notification.GetNonNullHandle(nameof(notification));
            var controller__handle__   = controller.GetNonNullHandle(nameof(controller));

            global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr_IntPtr(this.Handle, Selector.GetHandle("notificationDidDismiss:fromViewController:"), notification__handle__, controller__handle__);
        }
        public static global::UIKit.UIButton SetupViewForButton(this CTInAppDisplayViewController This, global::UIKit.UIButton buttonView, CTNotificationButton button, nint index)
        {
            var buttonView__handle__ = buttonView.GetNonNullHandle(nameof(buttonView));
            var button__handle__     = button.GetNonNullHandle(nameof(button));

            return(Runtime.GetNSObject <global::UIKit.UIButton> (global::ApiDefinition.Messaging.IntPtr_objc_msgSend_IntPtr_IntPtr_nint(This.Handle, Selector.GetHandle("setupViewForButton:withData:withIndex:"), buttonView__handle__, button__handle__, index)));
        }
Exemple #3
0
 public static void ButtonTapped(this CTInAppDisplayViewController This, global::UIKit.UIButton button)
 {
     if (button == null)
     {
         throw new ArgumentNullException("button");
     }
     global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr(This.Handle, Selector.GetHandle("buttonTapped:"), button.Handle);
 }
Exemple #4
0
 public void NotificationDidDismiss(CTInAppNotification notification, CTInAppDisplayViewController controller)
 {
     if (notification == null)
     {
         throw new ArgumentNullException("notification");
     }
     if (controller == null)
     {
         throw new ArgumentNullException("controller");
     }
     global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr_IntPtr(this.Handle, Selector.GetHandle("notificationDidDismiss:fromViewController:"), notification.Handle, controller.Handle);
 }
Exemple #5
0
 public static global::UIKit.UIButton SetupViewForButton(this CTInAppDisplayViewController This, global::UIKit.UIButton buttonView, CTNotificationButton button, nint index)
 {
     if (buttonView == null)
     {
         throw new ArgumentNullException("buttonView");
     }
     if (button == null)
     {
         throw new ArgumentNullException("button");
     }
     return(Runtime.GetNSObject <global::UIKit.UIButton> (global::ApiDefinition.Messaging.IntPtr_objc_msgSend_IntPtr_IntPtr_nint(This.Handle, Selector.GetHandle("setupViewForButton:withData:withIndex:"), buttonView.Handle, button.Handle, index)));
 }
Exemple #6
0
 public void HandleNotificationCTA(NSUrl ctaURL, CTInAppNotification notification, CTInAppDisplayViewController controller, NSDictionary extras)
 {
     if (ctaURL == null)
     {
         throw new ArgumentNullException("ctaURL");
     }
     if (notification == null)
     {
         throw new ArgumentNullException("notification");
     }
     if (controller == null)
     {
         throw new ArgumentNullException("controller");
     }
     if (extras == null)
     {
         throw new ArgumentNullException("extras");
     }
     global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr_IntPtr_IntPtr_IntPtr(this.Handle, Selector.GetHandle("handleNotificationCTA:forNotification:fromViewController:withExtras:"), ctaURL.Handle, notification.Handle, controller.Handle, extras.Handle);
 }
Exemple #7
0
 public virtual void NotificationDidShow(CTInAppNotification notification, CTInAppDisplayViewController controller)
 {
     throw new You_Should_Not_Call_base_In_This_Method();
 }
Exemple #8
0
 public abstract void NotificationDidDismiss(CTInAppNotification notification, CTInAppDisplayViewController controller);
Exemple #9
0
 public abstract void HandleNotificationCTA(NSUrl ctaURL, CTInAppNotification notification, CTInAppDisplayViewController controller, NSDictionary extras);
Exemple #10
0
 public static void HideFromWindow(this CTInAppDisplayViewController This, bool animated)
 {
     global::ApiDefinition.Messaging.void_objc_msgSend_bool(This.Handle, Selector.GetHandle("hideFromWindow:"), animated);
 }
Exemple #11
0
 public static void HandleImageTapGesture(this CTInAppDisplayViewController This)
 {
     global::ApiDefinition.Messaging.void_objc_msgSend(This.Handle, Selector.GetHandle("handleImageTapGesture"));
 }
Exemple #12
0
 public static void HandleButtonClickFromIndex(this CTInAppDisplayViewController This, int index)
 {
     global::ApiDefinition.Messaging.void_objc_msgSend_int(This.Handle, Selector.GetHandle("handleButtonClickFromIndex:"), index);
 }
Exemple #13
0
 public static void TappedDismiss(this CTInAppDisplayViewController This)
 {
     global::ApiDefinition.Messaging.void_objc_msgSend(This.Handle, Selector.GetHandle("tappedDismiss"));
 }
Exemple #14
0
        public void HandleNotificationCTA(NSUrl ctaURL, NSDictionary buttonCustomExtras, CTInAppNotification notification, CTInAppDisplayViewController controller, NSDictionary extras)
        {
            var ctaURL__handle__             = ctaURL.GetNonNullHandle(nameof(ctaURL));
            var buttonCustomExtras__handle__ = buttonCustomExtras.GetNonNullHandle(nameof(buttonCustomExtras));
            var notification__handle__       = notification.GetNonNullHandle(nameof(notification));
            var controller__handle__         = controller.GetNonNullHandle(nameof(controller));
            var extras__handle__             = extras.GetNonNullHandle(nameof(extras));

            global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr_IntPtr_IntPtr_IntPtr_IntPtr(this.Handle, Selector.GetHandle("handleNotificationCTA:buttonCustomExtras:forNotification:fromViewController:withExtras:"), ctaURL__handle__, buttonCustomExtras__handle__, notification__handle__, controller__handle__, extras__handle__);
        }
        public static void ButtonTapped(this CTInAppDisplayViewController This, global::UIKit.UIButton button)
        {
            var button__handle__ = button.GetNonNullHandle(nameof(button));

            global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr(This.Handle, Selector.GetHandle("buttonTapped:"), button__handle__);
        }