Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
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);
        }
Ejemplo n.º 3
0
 public static void ForceNewDeviceID(this ICTDeviceInfo This)
 {
     global::ApiDefinition.Messaging.void_objc_msgSend(This.Handle, Selector.GetHandle("forceNewDeviceID"));
 }
Ejemplo n.º 4
0
 public static bool GetIsErrorDeviceID(this ICTDeviceInfo This)
 {
     return(global::ApiDefinition.Messaging.bool_objc_msgSend(This.Handle, Selector.GetHandle("isErrorDeviceID")));
 }
Ejemplo n.º 5
0
 public static NSMutableArray <CTValidationResult> GetValidationErrors(this ICTDeviceInfo This)
 {
     return(Runtime.GetNSObject <NSMutableArray <CTValidationResult> > (global::ApiDefinition.Messaging.IntPtr_objc_msgSend(This.Handle, Selector.GetHandle("validationErrors"))));
 }
Ejemplo n.º 6
0
 public static bool GetAdvertisingTrackingEnabled(this ICTDeviceInfo This)
 {
     return(global::ApiDefinition.Messaging.bool_objc_msgSend(This.Handle, Selector.GetHandle("advertisingTrackingEnabled")));
 }
Ejemplo n.º 7
0
 public static string GetFallbackDeviceId(this ICTDeviceInfo This)
 {
     return(NSString.FromHandle(global::ApiDefinition.Messaging.IntPtr_objc_msgSend(This.Handle, Selector.GetHandle("fallbackDeviceId"))));
 }
Ejemplo n.º 8
0
 public static string GetVendorIdentifier(this ICTDeviceInfo This)
 {
     return(NSString.FromHandle(global::ApiDefinition.Messaging.IntPtr_objc_msgSend(This.Handle, Selector.GetHandle("vendorIdentifier"))));
 }
Ejemplo n.º 9
0
 public static string GetCountryCode(this ICTDeviceInfo This)
 {
     return(NSString.FromHandle(global::ApiDefinition.Messaging.IntPtr_objc_msgSend(This.Handle, Selector.GetHandle("countryCode"))));
 }