pub async fn listen_once_async(&self) -> Result<SpeechRecognitionResult> {
        unsafe {
            let mut result_handle: SPXRESULTHANDLE = MaybeUninit::uninit().assume_init();
            let ret = dialog_service_connector_listen_once(self.handle.inner(), &mut result_handle);
            convert_err(ret, "DialogServiceConnector.listen_once_async error")?;
            SpeechRecognitionResult::from_handle(result_handle)
        }
    }
/// ListenOnceAsync starts a listening session that will terminate after the first utterance.
ListenOnceAsync starts a listening session that will terminate after the first utterance.
ListenOnceAsync starts a listening session that will terminate after the first utterance .
pub async fn listen_once_async(&self) -> Result<SpeechRecognitionResult> {
        unsafe {
            let mut result_handle: SPXRESULTHANDLE = MaybeUninit::uninit().assume_init();
            let ret = dialog_service_connector_listen_once(self.handle.inner(), &mut result_handle);
            convert_err(ret, "DialogServiceConnector.listen_once_async error")?;
            SpeechRecognitionResult::from_handle(result_handle)
        }
    }
pub async fn listen_once_async ( & self ) -> Result < SpeechRecognitionResult > { unsafe { let mut result_handle : SPXRESULTHANDLE = MaybeUninit :: uninit ( ) . assume_init ( ) ; let ret = dialog_service_connector_listen_once ( self . handle . inner ( ) , & mut result_handle ) ; convert_err ( ret , " " ) ? ; SpeechRecognitionResult :: from_handle ( result_handle ) } }
ListenOnceAsync starts a listening session that will terminate after the first utterance.
ListenOnceAsync starts a listening session that will terminate after the first utterance .
&self
&self