Cloud Speech V1 Client - Class RecordingDeviceType (1.16.0)

Reference documentation and code samples for the Cloud Speech V1 Client class RecordingDeviceType.

The type of device the speech was recorded with.

Protobuf type google.cloud.speech.v1.RecognitionMetadata.RecordingDeviceType

Namespace

Google \ Cloud \ Speech \ V1 \ RecognitionMetadata

Methods

static::name

Parameter
NameDescription
value mixed

static::value

Parameter
NameDescription
name mixed

Constants

RECORDING_DEVICE_TYPE_UNSPECIFIED

Value: 0

The recording device is unknown.

Generated from protobuf enum RECORDING_DEVICE_TYPE_UNSPECIFIED = 0;

SMARTPHONE

Value: 1

Speech was recorded on a smartphone.

Generated from protobuf enum SMARTPHONE = 1;

PC

Value: 2

Speech was recorded using a personal computer or tablet.

Generated from protobuf enum PC = 2;

PHONE_LINE

Value: 3

Speech was recorded over a phone line.

Generated from protobuf enum PHONE_LINE = 3;

VEHICLE

Value: 4

Speech was recorded in a vehicle.

Generated from protobuf enum VEHICLE = 4;

OTHER_OUTDOOR_DEVICE

Value: 5

Speech was recorded outdoors.

Generated from protobuf enum OTHER_OUTDOOR_DEVICE = 5;

OTHER_INDOOR_DEVICE

Value: 6

Speech was recorded indoors.

Generated from protobuf enum OTHER_INDOOR_DEVICE = 6;