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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.