RecognizeInputType Class

public final class RecognizeInputType
extends ExpandableStringEnum<RecognizeInputType>

Defines values for RecognizeInputTypeInternal.

Field Summary

Modifier and Type Field and Description
static final RecognizeInputType CHOICES

Static value choices for RecognizeInputTypeInternal.

static final RecognizeInputType DTMF

Static value dtmf for RecognizeInputTypeInternal.

static final RecognizeInputType SPEECH

Static value choices for RecognizeInputTypeInternal.

static final RecognizeInputType SPEECH_OR_DTMF

Static value choices for RecognizeInputTypeInternal.

Constructor Summary

Constructor Description
RecognizeInputType()

Deprecated

Please use fromString(String name) to create an instance of RecognizeInputType.

Creates an instance of RecognizeInputType with no string value.

Method Summary

Modifier and Type Method and Description
static RecognizeInputType fromString(String name)

Creates or finds a RecognizeInputTypeInternal from its string representation.

static Collection<RecognizeInputType> values()

Get the collection of RecognizeInputTypeInternal values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CHOICES

public static final RecognizeInputType CHOICES

Static value choices for RecognizeInputTypeInternal.

DTMF

public static final RecognizeInputType DTMF

Static value dtmf for RecognizeInputTypeInternal.

SPEECH

public static final RecognizeInputType SPEECH

Static value choices for RecognizeInputTypeInternal.

SPEECH_OR_DTMF

public static final RecognizeInputType SPEECH_OR_DTMF

Static value choices for RecognizeInputTypeInternal.

Constructor Details

RecognizeInputType

@Deprecated
public RecognizeInputType()

Deprecated

Please use fromString(String name) to create an instance of RecognizeInputType.

Creates an instance of RecognizeInputType with no string value.

Method Details

fromString

public static RecognizeInputType fromString(String name)

Creates or finds a RecognizeInputTypeInternal from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding RecognizeInputTypeInternal.

values

public static Collection<RecognizeInputType> values()

Get the collection of RecognizeInputTypeInternal values.

Returns:

known RecognizeInputTypeInternal values.

Applies to