Class RecognitionMetadata (3.0.0)

[Obsolete]
public sealed class RecognitionMetadata : IMessage<RecognitionMetadata>, IEquatable<RecognitionMetadata>, IDeepCloneable<RecognitionMetadata>, IBufferMessage, IMessage

Description of audio data to be recognized.

Inheritance

Object > RecognitionMetadata

Namespace

Google.Cloud.Speech.V1

Assembly

Google.Cloud.Speech.V1.dll

Constructors

RecognitionMetadata()

public RecognitionMetadata()

RecognitionMetadata(RecognitionMetadata)

public RecognitionMetadata(RecognitionMetadata other)
Parameter
NameDescription
otherRecognitionMetadata

Properties

AudioTopic

public string AudioTopic { get; set; }

Description of the content. Eg. "Recordings of federal supreme court hearings from 2012".

Property Value
TypeDescription
String

IndustryNaicsCodeOfAudio

public uint IndustryNaicsCodeOfAudio { get; set; }

The industry vertical to which this speech recognition request most closely applies. This is most indicative of the topics contained in the audio. Use the 6-digit NAICS code to identify the industry vertical - see https://www.naics.com/search/.

Property Value
TypeDescription
UInt32

InteractionType

public RecognitionMetadata.Types.InteractionType InteractionType { get; set; }

The use case most closely describing the audio content to be recognized.

Property Value
TypeDescription
RecognitionMetadata.Types.InteractionType

MicrophoneDistance

public RecognitionMetadata.Types.MicrophoneDistance MicrophoneDistance { get; set; }

The audio type that most closely describes the audio being recognized.

Property Value
TypeDescription
RecognitionMetadata.Types.MicrophoneDistance

OriginalMediaType

public RecognitionMetadata.Types.OriginalMediaType OriginalMediaType { get; set; }

The original media the speech was recorded on.

Property Value
TypeDescription
RecognitionMetadata.Types.OriginalMediaType

OriginalMimeType

public string OriginalMimeType { get; set; }

Mime type of the original audio file. For example audio/m4a, audio/x-alaw-basic, audio/mp3, audio/3gpp. A list of possible audio mime types is maintained at http://www.iana.org/assignments/media-types/media-types.xhtml#audio

Property Value
TypeDescription
String

RecordingDeviceName

public string RecordingDeviceName { get; set; }

The device used to make the recording. Examples 'Nexus 5X' or 'Polycom SoundStation IP 6000' or 'POTS' or 'VoIP' or 'Cardioid Microphone'.

Property Value
TypeDescription
String

RecordingDeviceType

public RecognitionMetadata.Types.RecordingDeviceType RecordingDeviceType { get; set; }

The type of device the speech was recorded with.

Property Value
TypeDescription
RecognitionMetadata.Types.RecordingDeviceType