public static int ConnectDevice(this IEpos2BluetoothConnection This, NSMutableString target)
 {
     if (target == null)
     {
         throw new ArgumentNullException("target");
     }
     return(global::ApiDefinition.Messaging.int_objc_msgSend_IntPtr(This.Handle, Selector.GetHandle("connectDevice:"), target.Handle));
 }
        public static int DisconnectDevice(this IEpos2BluetoothConnection This, string target)
        {
            if (target == null)
            {
                throw new ArgumentNullException("target");
            }
            var nstarget = NSString.CreateNative(target);

            int ret;

            ret = global::ApiDefinition.Messaging.int_objc_msgSend_IntPtr(This.Handle, Selector.GetHandle("disconnectDevice:"), nstarget);
            NSString.ReleaseNative(nstarget);

            return(ret);
        }
 public static void Dealloc(this IEpos2BluetoothConnection This)
 {
     global::ApiDefinition.Messaging.void_objc_msgSend(This.Handle, Selector.GetHandle("dealloc"));
 }