Uses of Class
com.azure.ai.translation.text.models.ProfanityAction
Packages that use ProfanityAction
Package
Description
Package containing the classes for TextTranslation.
Package containing the data models for TextTranslation.
-
Uses of ProfanityAction in com.azure.ai.translation.text
Methods in com.azure.ai.translation.text with parameters of type ProfanityActionModifier and TypeMethodDescriptionTextTranslationAsyncClient.translate
(List<String> to, List<InputTextItem> content, String clientTraceId, String from, TextType textType, String category, ProfanityAction profanityAction, ProfanityMarker profanityMarker, Boolean includeAlignment, Boolean includeSentenceLength, String suggestedFrom, String fromScript, String toScript, Boolean allowFallback) Translate Text.TextTranslationClient.translate
(List<String> to, List<InputTextItem> content, String clientTraceId, String from, TextType textType, String category, ProfanityAction profanityAction, ProfanityMarker profanityMarker, Boolean includeAlignment, Boolean includeSentenceLength, String suggestedFrom, String fromScript, String toScript, Boolean allowFallback) Translate Text. -
Uses of ProfanityAction in com.azure.ai.translation.text.models
Fields in com.azure.ai.translation.text.models declared as ProfanityActionModifier and TypeFieldDescriptionstatic final ProfanityAction
ProfanityAction.DELETED
Static value Deleted for ProfanityAction.static final ProfanityAction
ProfanityAction.MARKED
Static value Marked for ProfanityAction.static final ProfanityAction
ProfanityAction.NO_ACTION
Static value NoAction for ProfanityAction.Methods in com.azure.ai.translation.text.models that return ProfanityActionModifier and TypeMethodDescriptionstatic ProfanityAction
ProfanityAction.fromString
(String name) Creates or finds a ProfanityAction from its string representation.Methods in com.azure.ai.translation.text.models that return types with arguments of type ProfanityActionModifier and TypeMethodDescriptionstatic Collection<ProfanityAction>
ProfanityAction.values()
Gets known ProfanityAction values.