Class SessionConfig


  • public class SessionConfig
    extends Object
    The SessionConfig represents additional streaming options that can be provided.
    • Constructor Detail

      • SessionConfig

        public SessionConfig()
    • Method Detail

      • getMetaData

        public String getMetaData()
        Returns the metadata.
        Returns:
        The metadata.
      • setMetaData

        public void setMetaData​(String metaData)
        Specifies the metadata to be used in the submission request to /jobs.
        Parameters:
        metaData - The metadata to send with the request.
      • getFilterProfanity

        public Boolean getFilterProfanity()
        Returns the value of the filter profanity option.
        Returns:
        The value of the filter profanity option.
      • getCustomVocabularyId

        public String getCustomVocabularyId()
        Returns the custom vocabulary ID.
        Returns:
        The custom vocabulary ID.
      • setCustomVocabularyId

        public void setCustomVocabularyId​(String customVocabularyId)
        Specifies the ID of the custom vocabulary the speech engine should use while processing audio samples. Custom vocabularies are submitted prior to usage in the stream and assigned an Id.
        Parameters:
        customVocabularyId - The ID of the custom vocabulary.