pub trait DialogServiceConfig {
    fn get_speech_config(&mut self) -> &mut SpeechConfig;
    fn get_handle(&self) -> SPXSPEECHCONFIGHANDLE;

    fn set_property(&mut self, id: PropertyId, value: String) -> Result<()> { ... }
    fn get_property(&mut self, id: PropertyId) -> Result<String> { ... }
    fn set_property_by_string(
        &mut self,
        name: String,
        value: String
    ) -> Result<()> { ... } fn get_property_by_string(&mut self, name: String) -> Result<String> { ... } fn set_service_property(
        &mut self,
        name: String,
        value: String,
        channel: ServicePropertyChannel
    ) -> Result<()> { ... } fn set_proxy(&mut self, hostname: String, port: u64) -> Result<()> { ... } fn set_proxy_with_usrname_and_pwd(
        &mut self,
        hostname: String,
        port: u64,
        username: String,
        password: String
    ) -> Result<()> { ... } fn set_language(&mut self, lang: String) -> Result<()> { ... } fn get_language(&mut self) -> Result<String> { ... } }
Expand description

DialogServiceConfig defines base configurations for the dialog service connector and custom commands config objects.

Required Methods

Provided Methods

SetLanguage sets the input language to the connector. The language is specified in BCP-47 format.

Implementors