Пример #1
0
 public virtual AsResultData SendSSI(SSICommand command)
 {
     if (IsDirectBinding)
     {
         return(Runtime.GetNSObject <AsResultData> (global::ApiDefinition.Messaging.IntPtr_objc_msgSend_UInt32(this.Handle, Selector.GetHandle("sendSSI:"), (UInt32)command)));
     }
     else
     {
         return(Runtime.GetNSObject <AsResultData> (global::ApiDefinition.Messaging.IntPtr_objc_msgSendSuper_UInt32(this.SuperHandle, Selector.GetHandle("sendSSI:"), (UInt32)command)));
     }
 }
Пример #2
0
 public virtual ResultCode PostSSI(SSICommand command)
 {
     if (IsDirectBinding)
     {
         return((ResultCode)global::ApiDefinition.Messaging.UInt32_objc_msgSend_UInt32(this.Handle, Selector.GetHandle("postSSI:"), (UInt32)command));
     }
     else
     {
         return((ResultCode)global::ApiDefinition.Messaging.UInt32_objc_msgSendSuper_UInt32(this.SuperHandle, Selector.GetHandle("postSSI:"), (UInt32)command));
     }
 }
Пример #3
0
 public virtual AsResultData SendSSI(SSICommand command, NSData data)
 {
     if (data == null)
     {
         throw new ArgumentNullException("data");
     }
     if (IsDirectBinding)
     {
         return(Runtime.GetNSObject <AsResultData> (global::ApiDefinition.Messaging.IntPtr_objc_msgSend_UInt32_IntPtr(this.Handle, Selector.GetHandle("sendSSI:withData:"), (UInt32)command, data.Handle)));
     }
     else
     {
         return(Runtime.GetNSObject <AsResultData> (global::ApiDefinition.Messaging.IntPtr_objc_msgSendSuper_UInt32_IntPtr(this.SuperHandle, Selector.GetHandle("sendSSI:withData:"), (UInt32)command, data.Handle)));
     }
 }
Пример #4
0
 public virtual ResultCode PostSSI(SSICommand command, NSData data)
 {
     if (data == null)
     {
         throw new ArgumentNullException("data");
     }
     if (IsDirectBinding)
     {
         return((ResultCode)global::ApiDefinition.Messaging.UInt32_objc_msgSend_UInt32_IntPtr(this.Handle, Selector.GetHandle("postSSI:withData:"), (UInt32)command, data.Handle));
     }
     else
     {
         return((ResultCode)global::ApiDefinition.Messaging.UInt32_objc_msgSendSuper_UInt32_IntPtr(this.SuperHandle, Selector.GetHandle("postSSI:withData:"), (UInt32)command, data.Handle));
     }
 }