public static void SetConnectionEventDelegate(this IEpos2BarcodeScanner This, Epos2ConnectionDelegate @delegate) { if (@delegate == null) { throw new ArgumentNullException("@delegate"); } global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr(This.Handle, Selector.GetHandle("setConnectionEventDelegate:"), @delegate.Handle); }
public static int Connect(this IEpos2BarcodeScanner This, string target, global::System.nint timeout) { if (target == null) { throw new ArgumentNullException("target"); } var nstarget = NSString.CreateNative(target); int ret; ret = global::ApiDefinition.Messaging.int_objc_msgSend_IntPtr_nint(This.Handle, Selector.GetHandle("connect:timeout:"), nstarget, timeout); NSString.ReleaseNative(nstarget); return(ret); }
public static int GetDisconnect(this IEpos2BarcodeScanner This) { return(global::ApiDefinition.Messaging.int_objc_msgSend(This.Handle, Selector.GetHandle("disconnect"))); }
public static void Dealloc(this IEpos2BarcodeScanner This) { global::ApiDefinition.Messaging.void_objc_msgSend(This.Handle, Selector.GetHandle("dealloc")); }
public static string GetLocation(this IEpos2BarcodeScanner This) { return(NSString.FromHandle(global::ApiDefinition.Messaging.IntPtr_objc_msgSend(This.Handle, Selector.GetHandle("getLocation")))); }
public static Epos2ScannerStatusInfo GetStatus(this IEpos2BarcodeScanner This) { return(Runtime.GetNSObject <Epos2ScannerStatusInfo> (global::ApiDefinition.Messaging.IntPtr_objc_msgSend(This.Handle, Selector.GetHandle("getStatus")))); }