Share via


GuidanceNavigator.UseAppProvidedVoice Property

Definition

Gets a value that indicates if Cortana is being used on the device.

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:
 static property bool UseAppProvidedVoice { bool get(); };
static bool UseAppProvidedVoice();
public static bool UseAppProvidedVoice { get; }
var boolean = GuidanceNavigator.useAppProvidedVoice;
Public Shared ReadOnly Property UseAppProvidedVoice As Boolean

Property Value

Boolean

bool

When the value is true, Cortana is being used on the device; otherwise, false.

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.10586.0)
Windows Mobile Extension SDK (introduced in 10.0.10586.0)
Windows Team Extension SDK (introduced in 10.0.14393.0)
API contract
Windows.Services.Maps.GuidanceContract (introduced in v2.0)

Applies to