60 строки
4.6 KiB
YAML
60 строки
4.6 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.ai.translation.text.models.TranslatedTextItem"
|
|
fullName: "com.azure.ai.translation.text.models.TranslatedTextItem"
|
|
name: "TranslatedTextItem"
|
|
nameWithType: "TranslatedTextItem"
|
|
summary: "Element containing the translated text."
|
|
inheritances:
|
|
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
inheritedClassMethods:
|
|
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
|
|
methodsRef:
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
|
|
syntax: "public final class **TranslatedTextItem**"
|
|
methods:
|
|
- uid: "com.azure.ai.translation.text.models.TranslatedTextItem.getDetectedLanguage()"
|
|
fullName: "com.azure.ai.translation.text.models.TranslatedTextItem.getDetectedLanguage()"
|
|
name: "getDetectedLanguage()"
|
|
nameWithType: "TranslatedTextItem.getDetectedLanguage()"
|
|
summary: "Get the detected<wbr>Language property: The detected<wbr>Language property is only present in the result object when language auto-detection is requested."
|
|
syntax: "public DetectedLanguage getDetectedLanguage()"
|
|
desc: "Get the detectedLanguage property: The detectedLanguage property is only present in the result object when language auto-detection is requested."
|
|
returns:
|
|
description: "the detectedLanguage value."
|
|
type: "<xref href=\"com.azure.ai.translation.text.models.DetectedLanguage?alt=com.azure.ai.translation.text.models.DetectedLanguage&text=DetectedLanguage\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.ai.translation.text.models.TranslatedTextItem.getSourceText()"
|
|
fullName: "com.azure.ai.translation.text.models.TranslatedTextItem.getSourceText()"
|
|
name: "getSourceText()"
|
|
nameWithType: "TranslatedTextItem.getSourceText()"
|
|
summary: "Get the source<wbr>Text property: Input text in the default script of the source language."
|
|
syntax: "public SourceText getSourceText()"
|
|
desc: "Get the sourceText property: Input text in the default script of the source language. sourceText property is present only when the input is expressed in a script that's not the usual script for the language. For example, if the input were Arabic written in Latin script, then sourceText.text would be the same Arabic text converted into Arab script."
|
|
returns:
|
|
description: "the sourceText value."
|
|
type: "<xref href=\"com.azure.ai.translation.text.models.SourceText?alt=com.azure.ai.translation.text.models.SourceText&text=SourceText\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.ai.translation.text.models.TranslatedTextItem.getTranslations()"
|
|
fullName: "com.azure.ai.translation.text.models.TranslatedTextItem.getTranslations()"
|
|
name: "getTranslations()"
|
|
nameWithType: "TranslatedTextItem.getTranslations()"
|
|
summary: "Get the translations property: An array of translation results."
|
|
syntax: "public List<TranslationText> getTranslations()"
|
|
desc: "Get the translations property: An array of translation results. The size of the array matches the number of target languages specified through the to query parameter."
|
|
returns:
|
|
description: "the translations value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a><<xref href=\"com.azure.ai.translation.text.models.TranslationText?alt=com.azure.ai.translation.text.models.TranslationText&text=TranslationText\" data-throw-if-not-resolved=\"False\" />>"
|
|
type: "class"
|
|
desc: "Element containing the translated text."
|
|
metadata: {}
|
|
package: "com.azure.ai.translation.text.models"
|
|
artifact: com.azure:azure-ai-translation-text:1.0.0
|