[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.
Implements
IMessageRecognitionMetadata, IEquatableRecognitionMetadata, IDeepCloneableRecognitionMetadata, IBufferMessage, IMessageNamespace
GoogleCloudGoogle.Cloud.SpeechV1Assembly
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 |
uint |
InteractionType
public RecognitionMetadata.Types.InteractionType InteractionType { get; set; }
The use case most closely describing the audio content to be recognized.
Property Value | |
---|---|
Type | Description |
RecognitionMetadataTypesInteractionType |
MicrophoneDistance
public RecognitionMetadata.Types.MicrophoneDistance MicrophoneDistance { get; set; }
The audio type that most closely describes the audio being recognized.
Property Value | |
---|---|
Type | Description |
RecognitionMetadataTypesMicrophoneDistance |
OriginalMediaType
public RecognitionMetadata.Types.OriginalMediaType OriginalMediaType { get; set; }
The original media the speech was recorded on.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
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 |
RecognitionMetadataTypesRecordingDeviceType |