Enum RecognitionMetadata.MicrophoneDistance (4.7.0)

public enum RecognitionMetadata.MicrophoneDistance extends Enum<RecognitionMetadata.MicrophoneDistance> implements ProtocolMessageEnum

Enumerates the types of capture settings describing an audio file.

Protobuf enum google.cloud.speech.v1.RecognitionMetadata.MicrophoneDistance

Implements

ProtocolMessageEnum

Static Fields

NameDescription
FARFIELD

The speaker is more than 3 meters away from the microphone.

FARFIELD = 3;

FARFIELD_VALUE

The speaker is more than 3 meters away from the microphone.

FARFIELD = 3;

MICROPHONE_DISTANCE_UNSPECIFIED

Audio type is not known.

MICROPHONE_DISTANCE_UNSPECIFIED = 0;

MICROPHONE_DISTANCE_UNSPECIFIED_VALUE

Audio type is not known.

MICROPHONE_DISTANCE_UNSPECIFIED = 0;

MIDFIELD

The speaker if within 3 meters of the microphone.

MIDFIELD = 2;

MIDFIELD_VALUE

The speaker if within 3 meters of the microphone.

MIDFIELD = 2;

NEARFIELD

The audio was captured from a closely placed microphone. Eg. phone, dictaphone, or handheld microphone. Generally if there speaker is within 1 meter of the microphone.

NEARFIELD = 1;

NEARFIELD_VALUE

The audio was captured from a closely placed microphone. Eg. phone, dictaphone, or handheld microphone. Generally if there speaker is within 1 meter of the microphone.

NEARFIELD = 1;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()