public static void SetReadStringEventDelegate(this IEpos2Keyboard This, Epos2KbdReadStringDelegate @delegate) { if (@delegate == null) { throw new ArgumentNullException("@delegate"); } global::ApiDefinition.Messaging.void_objc_msgSend_IntPtr(This.Handle, Selector.GetHandle("setReadStringEventDelegate:"), @delegate.Handle); }
public static int SetPrefix(this IEpos2Keyboard This, NSData data) { if (data == null) { throw new ArgumentNullException("data"); } return(global::ApiDefinition.Messaging.int_objc_msgSend_IntPtr(This.Handle, Selector.GetHandle("setPrefix:"), data.Handle)); }
public static int Connect(this IEpos2Keyboard 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 void Dealloc(this IEpos2Keyboard This) { global::ApiDefinition.Messaging.void_objc_msgSend(This.Handle, Selector.GetHandle("dealloc")); }
public static string GetLocation(this IEpos2Keyboard This) { return(NSString.FromHandle(global::ApiDefinition.Messaging.IntPtr_objc_msgSend(This.Handle, Selector.GetHandle("getLocation")))); }
public static NSData GetPrefix(this IEpos2Keyboard This) { return(Runtime.GetNSObject <NSData> (global::ApiDefinition.Messaging.IntPtr_objc_msgSend(This.Handle, Selector.GetHandle("getPrefix")))); }
public static Epos2KeyboardStatusInfo GetStatus(this IEpos2Keyboard This) { return(Runtime.GetNSObject <Epos2KeyboardStatusInfo> (global::ApiDefinition.Messaging.IntPtr_objc_msgSend(This.Handle, Selector.GetHandle("getStatus")))); }
public static int GetDisconnect(this IEpos2Keyboard This) { return(global::ApiDefinition.Messaging.int_objc_msgSend(This.Handle, Selector.GetHandle("disconnect"))); }