public sealed class RecognitionMetadata : IMessage<RecognitionMetadata>, IEquatable<RecognitionMetadata>, IDeepCloneable<RecognitionMetadata>, IBufferMessage, IMessage
Description of audio data to be recognized.
Implements
IMessage<RecognitionMetadata>, IEquatable<RecognitionMetadata>, IDeepCloneable<RecognitionMetadata>, IBufferMessage, IMessageNamespace
Google.Cloud.Speech.V1Assembly
Google.Cloud.Speech.V1.dll
Constructors
RecognitionMetadata()
public RecognitionMetadata()
RecognitionMetadata(RecognitionMetadata)
public RecognitionMetadata(RecognitionMetadata other)
Parameter | |
---|---|
Name | Description |
other | RecognitionMetadata |
Properties
AudioTopic
public string AudioTopic { get; set; }
Description of the content. Eg. "Recordings of federal supreme court hearings from 2012".
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
UInt32 |
InteractionType
public RecognitionMetadata.Types.InteractionType InteractionType { get; set; }
The use case most closely describing the audio content to be recognized.
Property Value | |
---|---|
Type | Description |
RecognitionMetadata.Types.InteractionType |
MicrophoneDistance
public RecognitionMetadata.Types.MicrophoneDistance MicrophoneDistance { get; set; }
The audio type that most closely describes the audio being recognized.
Property Value | |
---|---|
Type | Description |
RecognitionMetadata.Types.MicrophoneDistance |
OriginalMediaType
public RecognitionMetadata.Types.OriginalMediaType OriginalMediaType { get; set; }
The original media the speech was recorded on.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
String |
RecordingDeviceType
public RecognitionMetadata.Types.RecordingDeviceType RecordingDeviceType { get; set; }
The type of device the speech was recorded with.
Property Value | |
---|---|
Type | Description |
RecognitionMetadata.Types.RecordingDeviceType |