Click or drag to resize
SpeechInput Class
Speech service input parameters.
Inheritance Hierarchy
SystemObject
  Microsoft.Bing.SpeechSpeechInput

Namespace:  Microsoft.Bing.Speech
Assembly:  Microsoft.Bing.Speech (in Microsoft.Bing.Speech.dll) Version: 2.0.1.0 (2.0.1)
Syntax
public sealed class SpeechInput

The SpeechInput type exposes the following members.

Constructors
  NameDescription
Public methodSpeechInput
Initializes a new instance of the SpeechInput class.
Top
Properties
  NameDescription
Public propertyAudio
Gets the audio stream.
Public propertyRequestMetadata
Gets the metadata about the speech request.
Top
Examples
var deviceMetadata = new DeviceMetadata(DeviceType.Near, DeviceFamily.Desktop, NetworkType.Ethernet, OsName.Windows, "1607", "Dell", "T3600");
var applicationMetadata = new ApplicationMetadata("SampleApp", "1.0.0");
var requestMetadata = new RequestMetadata(Guid.NewGuid(), deviceMetadata, applicationMetadata, "SampleService");
var speechInput = new SpeechInput(File.OpenRead("audio.wav"), requestMetadata);
See Also