Cloud Speech V1 Client - Class RecordingDeviceType (1.9.1)

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

Methods

Parameter
Name
Description
value
mixed
Parameter
Name
Description
name
mixed

Constants

 Value: 0 

The recording device is unknown.

Generated from protobuf enum RECORDING_DEVICE_TYPE_UNSPECIFIED = 0;

 Value: 1 

Speech was recorded on a smartphone.

Generated from protobuf enum SMARTPHONE = 1;

 Value: 2 

Speech was recorded using a personal computer or tablet.

Generated from protobuf enum PC = 2;

 Value: 3 

Speech was recorded over a phone line.

Generated from protobuf enum PHONE_LINE = 3;

 Value: 4 

Speech was recorded in a vehicle.

Generated from protobuf enum VEHICLE = 4;

 Value: 5 

Speech was recorded outdoors.

Generated from protobuf enum OTHER_OUTDOOR_DEVICE = 5;

 Value: 6 

Speech was recorded indoors.

Generated from protobuf enum OTHER_INDOOR_DEVICE = 6;