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
Methods inherited from java.lang.Object
Methods
getValue()
public int getValue()
Returns the internal value of profanity option.
Returns
valueOf(String name)
public static ProfanityOption valueOf(String name)
Parameters
- name
- java.lang.String