Example #1
0
        /// <summary>
        /// Confirms upgrade call request.
        /// </summary>
        /// <param name="response">Upgrade response type.</param>
        /// <exception cref="InvalidOperationException">Thrown when method failed due to invalid operation.</exception>
        public void ConfirmUpgradeCall(CallUpgradeResponseType response)
        {
            int ret = Interop.CallManager.ConfirmUpgradeCall(_handle, response);

            if (ret != (int)CmError.None)
            {
                Log.Error(CmUtility.LogTag, "Failed to confirm upgrade call, Error: " + (CmError)ret);
                CmUtility.ThrowCmException(ret, _handle);
            }
        }
 internal static extern int ConfirmUpgradeCall(IntPtr handle, CallUpgradeResponseType respType);