public vx_evt_tts_injection_failed_t as_vx_evt_tts_injection_failed() { global::System.IntPtr cPtr = VivoxCoreInstancePINVOKE.vx_evt_base_t_as_vx_evt_tts_injection_failed(swigCPtr); vx_evt_tts_injection_failed_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new vx_evt_tts_injection_failed_t(cPtr, false); return(ret); }
private void HandleTTSInjectionFailed(vx_evt_base_t eventMessage) { vx_evt_tts_injection_failed_t evt = eventMessage; Debug.Assert(evt != null); TTSMessage matchingMessage = GetTTSMessageFromEvt(evt.utterance_id); if (null != matchingMessage) { _ttsMessages.Cleanup(matchingMessage); throw new VivoxApiException((int)evt.status); } }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(vx_evt_tts_injection_failed_t obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }