public FldSdkResult(FldSdkResult other) : this(FaceLivenessDetectionSDKPINVOKE.new_FldSdkResult__SWIG_3(FldSdkResult.getCPtr(other)), true)
 {
     if (FaceLivenessDetectionSDKPINVOKE.SWIGPendingException.Pending)
     {
         throw FaceLivenessDetectionSDKPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public virtual void Dispose()
 {
     lock (this) {
         if (swigCPtr.Handle != IntPtr.Zero)
         {
             if (swigCMemOwn)
             {
                 swigCMemOwn = false;
                 FaceLivenessDetectionSDKPINVOKE.delete_FldSdkEngine(swigCPtr);
             }
             swigCPtr = new HandleRef(null, IntPtr.Zero);
         }
         GC.SuppressFinalize(this);
     }
 }
        public static FldSdkResult deInit()
        {
            FldSdkResult ret = new FldSdkResult(FaceLivenessDetectionSDKPINVOKE.FldSdkEngine_deInit(), true);

            return(ret);
        }
        public static FldSdkResult init(string jsonConfig)
        {
            FldSdkResult ret = new FldSdkResult(FaceLivenessDetectionSDKPINVOKE.FldSdkEngine_init__SWIG_1(jsonConfig), true);

            return(ret);
        }
        public static FldSdkResult init(string jsonConfig, FldSdkParallelDeliveryCallback parallelDeliveryCallback)
        {
            FldSdkResult ret = new FldSdkResult(FaceLivenessDetectionSDKPINVOKE.FldSdkEngine_init__SWIG_0(jsonConfig, FldSdkParallelDeliveryCallback.getCPtr(parallelDeliveryCallback)), true);

            return(ret);
        }
        public static FldSdkResult warmUp(FLD_SDK_IMAGE_TYPE imageType)
        {
            FldSdkResult ret = new FldSdkResult(FaceLivenessDetectionSDKPINVOKE.FldSdkEngine_warmUp((int)imageType), true);

            return(ret);
        }
        public static FldSdkResult requestRuntimeLicenseKey()
        {
            FldSdkResult ret = new FldSdkResult(FaceLivenessDetectionSDKPINVOKE.FldSdkEngine_requestRuntimeLicenseKey__SWIG_1(), true);

            return(ret);
        }
 public FldSdkResult(int code, string phrase, string json) : this(FaceLivenessDetectionSDKPINVOKE.new_FldSdkResult__SWIG_2(code, phrase, json), true)
 {
 }
 public virtual void onNewResult(FldSdkResult newResult)
 {
     FaceLivenessDetectionSDKPINVOKE.FldSdkParallelDeliveryCallback_onNewResult(swigCPtr, FldSdkResult.getCPtr(newResult));
 }
        public bool isOK()
        {
            bool ret = FaceLivenessDetectionSDKPINVOKE.FldSdkResult_isOK(swigCPtr);

            return(ret);
        }
        public uint numFaces()
        {
            uint ret = FaceLivenessDetectionSDKPINVOKE.FldSdkResult_numFaces(swigCPtr);

            return(ret);
        }
        public string json()
        {
            string ret = FaceLivenessDetectionSDKPINVOKE.FldSdkResult_json(swigCPtr);

            return(ret);
        }
        public int code()
        {
            int ret = FaceLivenessDetectionSDKPINVOKE.FldSdkResult_code(swigCPtr);

            return(ret);
        }
        public static FldSdkResult process(FLD_SDK_IMAGE_TYPE imageType, IntPtr imageData, uint imageWidthInSamples, uint imageHeightInSamples)
        {
            FldSdkResult ret = new FldSdkResult(FaceLivenessDetectionSDKPINVOKE.FldSdkEngine_process__SWIG_2((int)imageType, imageData, imageWidthInSamples, imageHeightInSamples), true);

            return(ret);
        }
        public static FldSdkResult requestRuntimeLicenseKey(bool rawInsteadOfJSON)
        {
            FldSdkResult ret = new FldSdkResult(FaceLivenessDetectionSDKPINVOKE.FldSdkEngine_requestRuntimeLicenseKey__SWIG_0(rawInsteadOfJSON), true);

            return(ret);
        }
        public static FldSdkResult process(FLD_SDK_IMAGE_TYPE imageType, IntPtr yPtr, IntPtr uPtr, IntPtr vPtr, uint widthInSamples, uint heightInSamples, uint yStrideInBytes, uint uStrideInBytes, uint vStrideInBytes, uint uvPixelStrideInBytes, int exifOrientation)
        {
            FldSdkResult ret = new FldSdkResult(FaceLivenessDetectionSDKPINVOKE.FldSdkEngine_process__SWIG_3((int)imageType, yPtr, uPtr, vPtr, widthInSamples, heightInSamples, yStrideInBytes, uStrideInBytes, vStrideInBytes, uvPixelStrideInBytes, exifOrientation), true);

            return(ret);
        }
 public FldSdkResult() : this(FaceLivenessDetectionSDKPINVOKE.new_FldSdkResult__SWIG_0(), true)
 {
 }