public static int AddCommand(this IEpos2LineDisplay This, NSData data) { if (data == null) { throw new ArgumentNullException("data"); } return(global::ApiDefinition.Messaging.int_objc_msgSend_IntPtr(This.Handle, Selector.GetHandle("addCommand:"), data.Handle)); }
public static void SetConnectionEventDelegate(this IEpos2LineDisplay 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 IEpos2LineDisplay 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 AddMarqueeText(this IEpos2LineDisplay This, string data, int format, global::System.nint unitWait, global::System.nint repeatWait, global::System.nint repeatCount, int lang) { if (data == null) { throw new ArgumentNullException("data"); } var nsdata = NSString.CreateNative(data); int ret; ret = global::ApiDefinition.Messaging.int_objc_msgSend_IntPtr_int_nint_nint_nint_int(This.Handle, Selector.GetHandle("addMarqueeText:format:unitWait:repeatWait:repeatCount:lang:"), nsdata, format, unitWait, repeatWait, repeatCount, lang); NSString.ReleaseNative(nsdata); return(ret); }
public static int AddReverseText(this IEpos2LineDisplay This, string data, global::System.nint x, global::System.nint y, int lang) { if (data == null) { throw new ArgumentNullException("data"); } var nsdata = NSString.CreateNative(data); int ret; ret = global::ApiDefinition.Messaging.int_objc_msgSend_IntPtr_nint_nint_int(This.Handle, Selector.GetHandle("addReverseText:x:y:lang:"), nsdata, x, y, lang); NSString.ReleaseNative(nsdata); return(ret); }
public static int AddText(this IEpos2LineDisplay This, string data) { if (data == null) { throw new ArgumentNullException("data"); } var nsdata = NSString.CreateNative(data); int ret; ret = global::ApiDefinition.Messaging.int_objc_msgSend_IntPtr(This.Handle, Selector.GetHandle("addText:"), nsdata); NSString.ReleaseNative(nsdata); return(ret); }
public static void Dealloc(this IEpos2LineDisplay This) { global::ApiDefinition.Messaging.void_objc_msgSend(This.Handle, Selector.GetHandle("dealloc")); }
public static string GetLocation(this IEpos2LineDisplay This) { return(NSString.FromHandle(global::ApiDefinition.Messaging.IntPtr_objc_msgSend(This.Handle, Selector.GetHandle("getLocation")))); }
public static int GetAddShowClock(this IEpos2LineDisplay This) { return(global::ApiDefinition.Messaging.int_objc_msgSend(This.Handle, Selector.GetHandle("addShowClock"))); }
public static int GetAddClearCurrentWindow(this IEpos2LineDisplay This) { return(global::ApiDefinition.Messaging.int_objc_msgSend(This.Handle, Selector.GetHandle("addClearCurrentWindow"))); }
public static int GetClearCommandBuffer(this IEpos2LineDisplay This) { return(global::ApiDefinition.Messaging.int_objc_msgSend(This.Handle, Selector.GetHandle("clearCommandBuffer"))); }
public static int GetSendData(this IEpos2LineDisplay This) { return(global::ApiDefinition.Messaging.int_objc_msgSend(This.Handle, Selector.GetHandle("sendData"))); }
public static Epos2DisplayStatusInfo GetStatus(this IEpos2LineDisplay This) { return(Runtime.GetNSObject <Epos2DisplayStatusInfo> (global::ApiDefinition.Messaging.IntPtr_objc_msgSend(This.Handle, Selector.GetHandle("getStatus")))); }
public static int AddSetCursorPosition(this IEpos2LineDisplay This, global::System.nint x, global::System.nint y) { return(global::ApiDefinition.Messaging.int_objc_msgSend_nint_nint(This.Handle, Selector.GetHandle("addSetCursorPosition:y:"), x, y)); }
public static int AddSetBrightness(this IEpos2LineDisplay This, int brightness) { return(global::ApiDefinition.Messaging.int_objc_msgSend_int(This.Handle, Selector.GetHandle("addSetBrightness:"), brightness)); }
public static int AddSetBlink(this IEpos2LineDisplay This, global::System.nint interval) { return(global::ApiDefinition.Messaging.int_objc_msgSend_nint(This.Handle, Selector.GetHandle("addSetBlink:"), interval)); }
public static int AddSetCursorType(this IEpos2LineDisplay This, int type) { return(global::ApiDefinition.Messaging.int_objc_msgSend_int(This.Handle, Selector.GetHandle("addSetCursorType:"), type)); }
public static int AddMoveCursorPosition(this IEpos2LineDisplay This, int position) { return(global::ApiDefinition.Messaging.int_objc_msgSend_int(This.Handle, Selector.GetHandle("addMoveCursorPosition:"), position)); }
public static int AddCreateWindow(this IEpos2LineDisplay This, global::System.nint number, global::System.nint x, global::System.nint y, global::System.nint width, global::System.nint height, int scrollMode) { return(global::ApiDefinition.Messaging.int_objc_msgSend_nint_nint_nint_nint_nint_int(This.Handle, Selector.GetHandle("addCreateWindow:x:y:width:height:scrollMode:"), number, x, y, width, height, scrollMode)); }
public static int AddSetCurrentWindow(this IEpos2LineDisplay This, global::System.nint number) { return(global::ApiDefinition.Messaging.int_objc_msgSend_nint(This.Handle, Selector.GetHandle("addSetCurrentWindow:"), number)); }