SourceLanguageConfig Class
- java.
lang. Object - com.
microsoft. cognitiveservices. speech. SourceLanguageConfig
- com.
Implements
public final class SourceLanguageConfig
implements java.lang.AutoCloseable
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
Method Summary
Modifier and Type | Method and Description |
---|---|
void |
close()
Explicitly frees any external resource attached to the object |
static
Source |
fromLanguage(String language)
Creates an instance of the Source |
static
Source |
fromLanguage(String language, String endpointId)
Creates an instance of the Source |
Safe |
getImpl()
Returns the implementation of source language config object |
Methods inherited from java.lang.Object
Method Details
close
public void close()
Explicitly frees any external resource attached to the object
fromLanguage
public static SourceLanguageConfig fromLanguage(String language)
Creates an instance of the SourceLanguageConfig
Parameters:
Returns:
fromLanguage
public static SourceLanguageConfig fromLanguage(String language, String endpointId)
Creates an instance of the SourceLanguageConfig with source language and endpoint ID.
Parameters:
Returns:
getImpl
public SafeHandle getImpl()
Returns the implementation of source language config object
Returns:
Applies to
Azure SDK for Java
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示