Share via


GuidanceNavigator.SetGuidanceVoice(Int32, String) Method

Definition

Sets the voice used for audio notifications.

Note

This API is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. For more information about the Windows.Services.Maps.Guidance namespace, please work with your Microsoft Account Team representative.

public:
 virtual void SetGuidanceVoice(int voiceId, Platform::String ^ voiceFolder) = SetGuidanceVoice;
void SetGuidanceVoice(int const& voiceId, winrt::hstring const& voiceFolder);
public void SetGuidanceVoice(int voiceId, string voiceFolder);
function setGuidanceVoice(voiceId, voiceFolder)
Public Sub SetGuidanceVoice (voiceId As Integer, voiceFolder As String)

Parameters

voiceId
Int32

int

The voice identifier.

voiceFolder
String

Platform::String

winrt::hstring

The folder path of the specified voice.

Applies to