public static OTLookupCaller getAddrBookCaller()
        {
            global::System.IntPtr cPtr = otapiPINVOKE.OTRecordList_getAddrBookCaller();
            OTLookupCaller        ret  = (cPtr == global::System.IntPtr.Zero) ? null : new OTLookupCaller(cPtr, false);

            return(ret);
        }
Example #2
0
        public static bool OT_API_Set_AddrBookCallback(OTLookupCaller theCaller)
        {
            bool ret = otapiPINVOKE.OT_API_Set_AddrBookCallback(OTLookupCaller.getCPtr(theCaller));

            if (otapiPINVOKE.SWIGPendingException.Pending)
            {
                throw otapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public static bool setAddrBookCaller(OTLookupCaller theCaller)
        {
            bool ret = otapiPINVOKE.OTRecordList_setAddrBookCaller(OTLookupCaller.getCPtr(theCaller));

            if (otapiPINVOKE.SWIGPendingException.Pending)
            {
                throw otapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(OTLookupCaller obj) {
   return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }
 public static bool setAddrBookCaller(OTLookupCaller theCaller) {
   bool ret = otapiPINVOKE.OTRecordList_setAddrBookCaller(OTLookupCaller.getCPtr(theCaller));
   if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(OTLookupCaller obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }