SourceLanguageConfig Class

Definition

Represents source language configuration used for specifying recognition source language. Note: close() must be called in order to release underlying resources held by the object. Added in version 1.8.0

public class SourceLanguageConfig
Inheritance
java.lang.Object
AutoCloseable
SourceLanguageConfig

Methods

close()

Explicitly frees any external resource attached to the object

fromLanguage(String language)

Creates an instance of the SourceLanguageConfig

fromLanguage(String language, String endpointId)

Creates an instance of the SourceLanguageConfig with source language and endpoint ID.

Applies to