Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
ProfanityFilterMode Class
- Package:
- com.azure.ai.speech.transcription.models
- Maven Artifact:
- com.azure:azure-ai-speech-transcription:1.0.0
- java.lang.Object
- com.azure.core.util.ExpandableStringEnum<T>
- com.azure.ai.speech.transcription.models.ProfanityFilterMode
public final class ProfanityFilterMode
extends ExpandableStringEnum<ProfanityFilterMode>
Mode of profanity filtering.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
| static final ProfanityFilterMode |
MASKED
Mask the profanity with * except of the first letter, e.g., f***. |
| static final ProfanityFilterMode |
NONE
Disable profanity filtering. |
| static final ProfanityFilterMode |
REMOVED
Remove profanity. |
| static final ProfanityFilterMode |
TAGS
Add "profanity" XML tags <Profanity></Profanity>. |
Constructor Summary
| Constructor | Description |
|---|---|
| ProfanityFilterMode() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of ProfanityFilterMode value. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| static ProfanityFilterMode |
fromString(String name)
Creates or finds a ProfanityFilterMode from its string representation. |
| static Collection<ProfanityFilterMode> |
values()
Gets known ProfanityFilterMode values. |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
MASKED
public static final ProfanityFilterMode MASKED
Mask the profanity with * except of the first letter, e.g., f***.
NONE
public static final ProfanityFilterMode NONE
Disable profanity filtering.
REMOVED
public static final ProfanityFilterMode REMOVED
Remove profanity.
TAGS
public static final ProfanityFilterMode TAGS
Add "profanity" XML tags <Profanity></Profanity>.
Constructor Details
ProfanityFilterMode
@Deprecated
public ProfanityFilterMode()
Deprecated
Creates a new instance of ProfanityFilterMode value.
Method Details
fromString
public static ProfanityFilterMode fromString(String name)
Creates or finds a ProfanityFilterMode from its string representation.
Parameters:
Returns:
values
public static Collection<ProfanityFilterMode> values()
Gets known ProfanityFilterMode values.
Returns:
Applies to
Azure SDK for Java
Feedback
Was this page helpful?
