Delen via


SpeechRecognizerUIOptions.AudiblePrompt Property

Definition

Gets or sets the heading text that is displayed on the Listening screen. The default is "Listening...".

public:
 property Platform::String ^ AudiblePrompt { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring AudiblePrompt();

void AudiblePrompt(winrt::hstring value);
public string AudiblePrompt { get; set; }
var string = speechRecognizerUIOptions.audiblePrompt;
speechRecognizerUIOptions.audiblePrompt = string;
Public Property AudiblePrompt As String

Property Value

String

Platform::String

winrt::hstring

The heading text. A custom string should clearly describe the kind of info expected by the app and is limited to two lines in length.

Remarks

The default string is automatically localized: If the speech recognizer has an associated language, the default text is shown in that language. Otherwise, the default text is shown in the system language.

You are responsible for localizing a custom string.

Applies to

See also