예제 #1
0
 public void AtIndex(CleverTapInboxMessage message, int index, int buttonIndex)
 {
     if (message == null)
     {
         throw new ArgumentNullException("message");
     }
     global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr_int_int(this.Handle, Selector.GetHandle("messageDidSelect:atIndex:withButtonIndex:"), message.Handle, index, buttonIndex);
 }
 public static void DeleteInboxMessage(this CleverTap This, CleverTapInboxMessage message)
 {
     if (message == null)
     {
         throw new ArgumentNullException("message");
     }
     global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr(This.Handle, Selector.GetHandle("deleteInboxMessage:"), message.Handle);
 }
        public unsafe static void BuildInboxMessageStateEvent(bool clicked, CleverTapInboxMessage message, NSDictionary? @params, [BlockProxy(typeof(ObjCRuntime.Trampolines.NIDActionArity2V0))] global::System.Action <NSDictionary, NSArray <CTValidationResult> > completion)
        {
            var message__handle__ = message.GetNonNullHandle(nameof(message));
            var @params__handle__ = @params.GetHandle();

            if (completion == null)
            {
                ObjCRuntime.ThrowHelper.ThrowArgumentNullException(nameof(completion));
            }
            BlockLiteral *block_ptr_completion;
            BlockLiteral  block_completion;

            block_completion     = new BlockLiteral();
            block_ptr_completion = &block_completion;
            block_completion.SetupBlockUnsafe(Trampolines.SDActionArity2V0.Handler, completion);

            global::ApiDefinition.Messaging.void_objc_msgSend_bool_IntPtr_IntPtr_IntPtr(class_ptr, Selector.GetHandle("buildInboxMessageStateEvent:forMessage:andQueryParameters:completionHandler:"), clicked, message__handle__, @params__handle__, (IntPtr)block_ptr_completion);
            block_ptr_completion->CleanupBlock();
        }
        public static void MessageDidSelect(this ICleverTapInboxViewControllerDelegate This, CleverTapInboxMessage message, int index, int buttonIndex)
        {
            var message__handle__ = message.GetNonNullHandle(nameof(message));

            global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr_int_int(This.Handle, Selector.GetHandle("messageDidSelect:atIndex:withButtonIndex:"), message__handle__, index, buttonIndex);
        }
 public virtual void MessageDidSelect(CleverTapInboxMessage message, int index, int buttonIndex)
 {
     throw new You_Should_Not_Call_base_In_This_Method();
 }
예제 #6
0
 public abstract void AtIndex(CleverTapInboxMessage message, int index, int buttonIndex);
예제 #7
0
        public static void DeleteInboxMessage(this CleverTap This, CleverTapInboxMessage message)
        {
            var message__handle__ = message.GetNonNullHandle(nameof(message));

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