ProfanityOption Enum
- java.
lang. Object - java.
lang. Enum - com.
microsoft. cognitiveservices. speech. ProfanityOption
- com.
- java.
public enum ProfanityOption
extends java.lang.Enum<ProfanityOption>
Define profanity option for response result. Added in version 1.5.0.
Fields
Masked |
Replaces profanity with asterisks. |
Raw |
Includes the profanity in the result. |
Removed |
Removes all profanity from the result. |
Methods inherited from java.lang.Enum
java.lang.Enum.<T>valueOf
java.lang.Enum.clone
java.lang.Enum.compareTo
java.lang.Enum.describeConstable
java.lang.Enum.equals
java.lang.Enum.finalize
java.lang.Enum.getDeclaringClass
java.lang.Enum.hashCode
java.lang.Enum.name
java.lang.Enum.ordinal
java.lang.Enum.toString
Methods inherited from java.lang.Object
java.lang.Object.getClass
java.lang.Object.notify
java.lang.Object.notifyAll
java.lang.Object.wait
java.lang.Object.wait
java.lang.Object.wait
Methods
getValue()
public int getValue()
Returns the internal value of profanity option.
Returns
int
the internal profanity value.
valueOf(String name)
public static ProfanityOption valueOf(String name)
Parameters
- name
- java.lang.String
Returns
values()
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java