Click or drag to resize
Preferences Constructor
Initializes a new instance of the Preferences class.

Namespace:  Microsoft.Bing.Speech
Assembly:  Microsoft.Bing.Speech (in Microsoft.Bing.Speech.dll) Version: 2.0.1.0 (2.0.1)
Syntax
public Preferences(
	string speechLanguage,
	Uri serviceUri,
	IAuthorizationProvider authorizationProvider,
	bool enableAudioBuffering = true
)

Parameters

speechLanguage
Type: SystemString
The speech language.
serviceUri
Type: SystemUri
The speech service URI.
authorizationProvider
Type: Microsoft.Bing.SpeechIAuthorizationProvider
The authorization provider.
enableAudioBuffering (Optional)
Type: SystemBoolean
If this property is set to true and a network interruption occurs, the SDK will resend the buffered audio starting from the last RecognitionResult.
See Also