Ejemplo n.º 1
0
        public static void SetScannerModelString(this IScannerInfo This, string value)
        {
            if (value == null)
            {
                throw new ArgumentNullException("value");
            }
            var nsvalue = NSString.CreateNative(value);

            global::ApiDefinitions.ZebraMessaging.void_objc_msgSend_IntPtr(This.Handle, Selector.GetHandle("setScannerModelString:"), nsvalue);
            NSString.ReleaseNative(nsvalue);
        }
Ejemplo n.º 2
0
 public static void SetActive(this IScannerInfo This, bool active)
 {
     global::ApiDefinitions.ZebraMessaging.void_objc_msgSend_bool(This.Handle, Selector.GetHandle("setActive:"), active);
 }
Ejemplo n.º 3
0
 public static void SetAutoCommunicationSessionReestablishment(this IScannerInfo This, bool enable)
 {
     global::ApiDefinitions.ZebraMessaging.void_objc_msgSend_bool(This.Handle, Selector.GetHandle("setAutoCommunicationSessionReestablishment:"), enable);
 }
Ejemplo n.º 4
0
 public static void SetConnectionType(this IScannerInfo This, int connectionType)
 {
     global::ApiDefinitions.ZebraMessaging.void_objc_msgSend_int(This.Handle, Selector.GetHandle("setConnectionType:"), connectionType);
 }
Ejemplo n.º 5
0
 public static void SetScannerID(this IScannerInfo This, int scannerID)
 {
     global::ApiDefinitions.ZebraMessaging.void_objc_msgSend_int(This.Handle, Selector.GetHandle("setScannerID:"), scannerID);
 }
Ejemplo n.º 6
0
 public static void Dealloc(this IScannerInfo This)
 {
     global::ApiDefinitions.ZebraMessaging.void_objc_msgSend(This.Handle, Selector.GetHandle("dealloc"));
 }
Ejemplo n.º 7
0
 public static string GetFirmwareVersion(this IScannerInfo This)
 {
     return(NSString.FromHandle(global::ApiDefinitions.ZebraMessaging.IntPtr_objc_msgSend(This.Handle, Selector.GetHandle("firmwareVersion"))));
 }
Ejemplo n.º 8
0
 public static string GetScannerModelString(this IScannerInfo This)
 {
     return(NSString.FromHandle(global::ApiDefinitions.ZebraMessaging.IntPtr_objc_msgSend(This.Handle, Selector.GetHandle("scannerModelString"))));
 }
Ejemplo n.º 9
0
 public static DeviceModel GetScannerModel(this IScannerInfo This)
 {
     return((DeviceModel)global::ApiDefinitions.ZebraMessaging.UInt32_objc_msgSend(This.Handle, Selector.GetHandle("getScannerModel")));
 }
Ejemplo n.º 10
0
 public static bool GetIsAvailable(this IScannerInfo This)
 {
     return(global::ApiDefinitions.ZebraMessaging.bool_objc_msgSend(This.Handle, Selector.GetHandle("isAvailable")));
 }
Ejemplo n.º 11
0
 public static bool GetAutoCommunicationSessionReestablishment(this IScannerInfo This)
 {
     return(global::ApiDefinitions.ZebraMessaging.bool_objc_msgSend(This.Handle, Selector.GetHandle("getAutoCommunicationSessionReestablishment")));
 }
Ejemplo n.º 12
0
 public static ConnectionType GetConnectionType(this IScannerInfo This)
 {
     return((ConnectionType)global::ApiDefinitions.ZebraMessaging.UInt32_objc_msgSend(This.Handle, Selector.GetHandle("getConnectionType")));
 }
Ejemplo n.º 13
0
 public static int GetScannerID(this IScannerInfo This)
 {
     return(global::ApiDefinitions.ZebraMessaging.int_objc_msgSend(This.Handle, Selector.GetHandle("getScannerID")));
 }