SpeechInput Class |
Namespace: Microsoft.Bing.Speech
The SpeechInput type exposes the following members.
Name | Description | |
---|---|---|
SpeechInput |
Initializes a new instance of the SpeechInput class.
|
Name | Description | |
---|---|---|
Audio |
Gets the audio stream.
| |
RequestMetadata |
Gets the metadata about the speech request.
|
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);