Google Cloud Speech v1 API - Class RecognitionMetadata (3.4.0)

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

Reference documentation and code samples for the Google Cloud Speech v1 API class RecognitionMetadata.

Description of audio data to be recognized.

Inheritance

object > RecognitionMetadata

Namespace

GoogleCloudGoogle.Cloud.SpeechV1

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
uint

InteractionType

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

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

Property Value
TypeDescription
RecognitionMetadataTypesInteractionType

MicrophoneDistance

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

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

Property Value
TypeDescription
RecognitionMetadataTypesMicrophoneDistance

OriginalMediaType

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

The original media the speech was recorded on.

Property Value
TypeDescription
RecognitionMetadataTypesOriginalMediaType

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
RecognitionMetadataTypesRecordingDeviceType