public static void RecordDisplayUnitClickedEventForID(this CleverTap This, string unitID)
        {
            if (unitID == null)
            {
                ObjCRuntime.ThrowHelper.ThrowArgumentNullException(nameof(unitID));
            }
            var nsunitID = NSString.CreateNative(unitID);

            global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr(This.Handle, Selector.GetHandle("recordDisplayUnitClickedEventForID:"), nsunitID);
            NSString.ReleaseNative(nsunitID);
        }
        public static void SetMaskedCardNumber(this IBPNReceipt This, string value)
        {
            if (value == null)
            {
                throw new ArgumentNullException("value");
            }
            var nsvalue = NSString.CreateNative(value);

            global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr(This.Handle, Selector.GetHandle("setMaskedCardNumber:"), nsvalue);
            NSString.ReleaseNative(nsvalue);
        }
Exemple #3
0
        public static void SetErrorDesc(this ICTValidationResult This, string value)
        {
            if (value == null)
            {
                ObjCRuntime.ThrowHelper.ThrowArgumentNullException(nameof(value));
            }
            var nsvalue = NSString.CreateNative(value);

            global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr(This.Handle, Selector.GetHandle("setErrorDesc:"), nsvalue);
            NSString.ReleaseNative(nsvalue);
        }
        public void EventBarcode(string barcodeData, BarcodeType barcodeType, int scannerID)
        {
            if (barcodeData == null)
            {
                throw new ArgumentNullException("barcodeData");
            }
            var nsbarcodeData = NSString.CreateNative(barcodeData);

            global::ApiDefinitions.ZebraMessaging.void_objc_msgSend_IntPtr_int_int(this.Handle, Selector.GetHandle("sbtEventBarcode:barcodeType:fromScanner:"), nsbarcodeData, (int)barcodeType, scannerID);
            NSString.ReleaseNative(nsbarcodeData);
        }
Exemple #5
0
        public virtual NSImage IconForFileType(string fileType)
        {
            var nsFileType = NSString.CreateNative(fileType);

            try {
                return(IconForFileType(nsFileType));
            }
            finally {
                NSString.ReleaseNative(nsFileType);
            }
        }
Exemple #6
0
        public static void PutInt(nint resetValue, string key)
        {
            if (key == null)
            {
                throw new ArgumentNullException("key");
            }
            var nskey = NSString.CreateNative(key);

            global::ApiDefinition.Messaging.void_objc_msgSend_nint_IntPtr(class_ptr, Selector.GetHandle("putInt:forKey:"), resetValue, nskey);
            NSString.ReleaseNative(nskey);
        }
        public static void ForceUpdateDeviceID(this ICTDeviceInfo This, string newDeviceID)
        {
            if (newDeviceID == null)
            {
                ObjCRuntime.ThrowHelper.ThrowArgumentNullException(nameof(newDeviceID));
            }
            var nsnewDeviceID = NSString.CreateNative(newDeviceID);

            global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr(This.Handle, Selector.GetHandle("forceUpdateDeviceID:"), nsnewDeviceID);
            NSString.ReleaseNative(nsnewDeviceID);
        }
        public static void StartWithAppID(string appId, bool locationAllowed)
        {
            if (appId == null)
            {
                throw new ArgumentNullException("appId");
            }
            var nsappId = NSString.CreateNative(appId);

            global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr_bool(class_ptr, Selector.GetHandle("startWithAppID:location:"), nsappId, locationAllowed);
            NSString.ReleaseNative(nsappId);
        }
        public static void TrackEvent(string eventID)
        {
            if (eventID == null)
            {
                throw new ArgumentNullException("eventID");
            }
            var nseventID = NSString.CreateNative(eventID);

            global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr(class_ptr, Selector.GetHandle("trackEvent:"), nseventID);
            NSString.ReleaseNative(nseventID);
        }
        public static void SetUserIdentifier(string userId)
        {
            if (userId == null)
            {
                throw new ArgumentNullException("userId");
            }
            var nsuserId = NSString.CreateNative(userId);

            global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr(class_ptr, Selector.GetHandle("setUserIdentifier:"), nsuserId);
            NSString.ReleaseNative(nsuserId);
        }
        public static void StartWithAppID(string appId, global::System.Double rate)
        {
            if (appId == null)
            {
                throw new ArgumentNullException("appId");
            }
            var nsappId = NSString.CreateNative(appId);

            global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr_Double(class_ptr, Selector.GetHandle("startWithAppID:rateOfLaunch:"), nsappId, rate);
            NSString.ReleaseNative(nsappId);
        }
        public static void RegisterStringVariableWithName(this CleverTap This, string name)
        {
            if (name == null)
            {
                ObjCRuntime.ThrowHelper.ThrowArgumentNullException(nameof(name));
            }
            var nsname = NSString.CreateNative(name);

            global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr(This.Handle, Selector.GetHandle("registerStringVariableWithName:"), nsname);
            NSString.ReleaseNative(nsname);
        }
Exemple #13
0
        public static void DeleteInboxMessageForID(this CleverTap This, string messageId)
        {
            if (messageId == null)
            {
                ObjCRuntime.ThrowHelper.ThrowArgumentNullException(nameof(messageId));
            }
            var nsmessageId = NSString.CreateNative(messageId);

            global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr(This.Handle, Selector.GetHandle("deleteInboxMessageForID:"), nsmessageId);
            NSString.ReleaseNative(nsmessageId);
        }
Exemple #14
0
        public static void ForceUpdateCustomDeviceID(this ICTDeviceInfo This, string cleverTapID)
        {
            if (cleverTapID == null)
            {
                throw new ArgumentNullException("cleverTapID");
            }
            var nscleverTapID = NSString.CreateNative(cleverTapID);

            global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr(This.Handle, Selector.GetHandle("forceUpdateCustomDeviceID:"), nscleverTapID);
            NSString.ReleaseNative(nscleverTapID);
        }
Exemple #15
0
        public static void DoSomthingNew(this IDoSomthingClass This, string from)
        {
            if (from == null)
            {
                throw new ArgumentNullException("from");
            }
            var nsfrom = NSString.CreateNative(from);

            global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr(This.Handle, Selector.GetHandle("doSomthingNew:"), nsfrom);
            NSString.ReleaseNative(nsfrom);
        }
        public static void LeaveBreadcrumb(string breadcrumb)
        {
            if (breadcrumb == null)
            {
                throw new ArgumentNullException("breadcrumb");
            }
            var nsbreadcrumb = NSString.CreateNative(breadcrumb);

            global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr(class_ptr, Selector.GetHandle("leaveBreadcrumb:"), nsbreadcrumb);
            NSString.ReleaseNative(nsbreadcrumb);
        }
        public static void RemoveProfileFieldForKey(this ICTLocalDataStore This, string key)
        {
            if (key == null)
            {
                throw new ArgumentNullException("key");
            }
            var nskey = NSString.CreateNative(key);

            global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr(This.Handle, Selector.GetHandle("removeProfileFieldForKey:"), nskey);
            NSString.ReleaseNative(nskey);
        }
Exemple #18
0
        public static void Hnk_setImageFromFile(this global::MonoTouch.UIKit.UIImageView This, string path)
        {
            if (path == null)
            {
                throw new ArgumentNullException("path");
            }
            var nspath = NSString.CreateNative(path);

            ApiDefinition.Messaging.void_objc_msgSend_IntPtr(This.Handle, selHnk_setImageFromFile_Handle, nspath);
            NSString.ReleaseNative(nspath);
        }
Exemple #19
0
        public static void RemoveObjectForKey(string key)
        {
            if (key == null)
            {
                throw new ArgumentNullException("key");
            }
            var nskey = NSString.CreateNative(key);

            global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr(class_ptr, Selector.GetHandle("removeObjectForKey:"), nskey);
            NSString.ReleaseNative(nskey);
        }
        public static void RecordDisplayUnitViewedEventForID(this CleverTap This, string unitID)
        {
            if (unitID == null)
            {
                throw new ArgumentNullException("unitID");
            }
            var nsunitID = NSString.CreateNative(unitID);

            global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr(This.Handle, Selector.GetHandle("recordDisplayUnitViewedEventForID:"), nsunitID);
            NSString.ReleaseNative(nsunitID);
        }
Exemple #21
0
        public static void ReadTag(this IAsReaderDelegate This, string tag, float rssi, float phase, float frequency)
        {
            if (tag == null)
            {
                throw new ArgumentNullException("tag");
            }
            var nstag = NSString.CreateNative(tag);

            global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr_float_float_float(This.Handle, Selector.GetHandle("readTag:rssi:phase:frequency:"), nstag, rssi, phase, frequency);
            NSString.ReleaseNative(nstag);
        }
        public static void SetProgressTitle(this global::UIKit.UINavigationController This, string title)
        {
            if (title == null)
            {
                throw new ArgumentNullException("title");
            }
            var nstitle = NSString.CreateNative(title);

            global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr(This.Handle, Selector.GetHandle("setProgressTitle:"), nstitle);
            NSString.ReleaseNative(nstitle);
        }
Exemple #23
0
        public void SbtSetBTAddress(string btAdd)
        {
            if (btAdd == null)
            {
                throw new ArgumentNullException("btAdd");
            }
            var nsbtAdd = NSString.CreateNative(btAdd);

            global::ApiDefinition.ZebraMessaging.void_objc_msgSend_IntPtr(this.Handle, Selector.GetHandle("sbtSetBTAddress:"), nsbtAdd);
            NSString.ReleaseNative(nsbtAdd);
        }
Exemple #24
0
        public static void ProfileDidInitialize(this ICleverTapSyncDelegate This, string CleverTapID)
        {
            if (CleverTapID == null)
            {
                ObjCRuntime.ThrowHelper.ThrowArgumentNullException(nameof(CleverTapID));
            }
            var nsCleverTapID = NSString.CreateNative(CleverTapID);

            global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr(This.Handle, Selector.GetHandle("profileDidInitialize:"), nsCleverTapID);
            NSString.ReleaseNative(nsCleverTapID);
        }
        public void DidSearchTerm(string term, bool found)
        {
            if (term == null)
            {
                throw new ArgumentNullException("term");
            }
            var nsterm = NSString.CreateNative(term);

            global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr_bool(this.Handle, Selector.GetHandle("didSearchTerm:found:"), nsterm, found);
            NSString.ReleaseNative(nsterm);
        }
        public static void SetTitle(this ICleverTapInboxStyleConfig This, string value)
        {
            if (value == null)
            {
                throw new ArgumentNullException("value");
            }
            var nsvalue = NSString.CreateNative(value);

            global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr(This.Handle, Selector.GetHandle("setTitle:"), nsvalue);
            NSString.ReleaseNative(nsvalue);
        }
        public static void SetEndpoint(this ICCCAPI This, string value)
        {
            if (value == null)
            {
                throw new ArgumentNullException("value");
            }
            var nsvalue = NSString.CreateNative(value);

            global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr(This.Handle, Selector.GetHandle("setEndpoint:"), nsvalue);
            NSString.ReleaseNative(nsvalue);
        }
        public static void AgentDidChangeUserInputText(this IConversationViewControllerAgentDelegate This, string text)
        {
            if (text == null)
            {
                throw new ArgumentNullException("text");
            }
            var nstext = NSString.CreateNative(text);

            global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr(This.Handle, Selector.GetHandle("agentDidChangeUserInputText:"), nstext);
            NSString.ReleaseNative(nstext);
        }
        public static void RegisterDictionaryOfDoubleVariableWithName(this CleverTap This, string name)
        {
            if (name == null)
            {
                throw new ArgumentNullException("name");
            }
            var nsname = NSString.CreateNative(name);

            global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr(This.Handle, Selector.GetHandle("registerDictionaryOfDoubleVariableWithName:"), nsname);
            NSString.ReleaseNative(nsname);
        }
Exemple #30
0
        public static void SyncHashedEmail(string email)
        {
            if (email == null)
            {
                throw new ArgumentNullException("email");
            }
            var nsemail = NSString.CreateNative(email);

            global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr(class_ptr, Selector.GetHandle("syncHashedEmail:"), nsemail);
            NSString.ReleaseNative(nsemail);
        }