Speech/src/V1p1beta1/RecognitionMetadata.php
public function setRecordingDeviceType($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Speech\V1p1beta1\RecognitionMetadata_RecordingDeviceType::class);
        $this->recording_device_type = $var;

        return $this;
    }
public function setRecordingDeviceType($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Speech\V1p1beta1\RecognitionMetadata_RecordingDeviceType::class);
        $this->recording_device_type = $var;

        return $this;
    }
public function setRecordingDeviceType ( $ var ) { GPBUtil :: checkEnum ( $ var , \ Google \ Cloud \ Speech \ V1p1beta1 \ RecognitionMetadata_RecordingDeviceType :: class ) ; $ this -> recording_device_type = $ var ; return $ this ; }
The type of device the speech was recorded with.

Generated from protobuf field <code>.google.cloud.speech.v1p1beta1.RecognitionMetadata.RecordingDeviceType recording_device_type = 6;</code>
@param int $var
@return $this
The type of device the speech was recorded with .