<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/speech/v1p1beta1/cloud_speech.proto

namespace Google\Cloud\Speech\V1p1beta1\RecognitionMetadata;

/**
 * Enumerates the types of capture settings describing an audio file.
 *
 * Protobuf type <code>google.cloud.speech.v1p1beta1.RecognitionMetadata.MicrophoneDistance</code>
 */
class MicrophoneDistance
{
    /**
     * Audio type is not known.
     *
     * Generated from protobuf enum <code>MICROPHONE_DISTANCE_UNSPECIFIED = 0;</code>
     */
    const MICROPHONE_DISTANCE_UNSPECIFIED = 0;
    /**
     * 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.
     *
     * Generated from protobuf enum <code>NEARFIELD = 1;</code>
     */
    const NEARFIELD = 1;
    /**
     * The speaker if within 3 meters of the microphone.
     *
     * Generated from protobuf enum <code>MIDFIELD = 2;</code>
     */
    const MIDFIELD = 2;
    /**
     * The speaker is more than 3 meters away from the microphone.
     *
     * Generated from protobuf enum <code>FARFIELD = 3;</code>
     */
    const FARFIELD = 3;
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(MicrophoneDistance::class, \Google\Cloud\Speech\V1p1beta1\RecognitionMetadata_MicrophoneDistance::class);

