![]() ![]() ![]() bool result = await (new Uri("ms-settings:privacy-webcam")) īool result = co_await Windows::System::Launcher::LaunchUriAsync(Windows::Foundation::Uri(L"ms-settings:privacy-webcam")) ![]() This example shows how to launch to the privacy settings page for the camera using the ms-settings:privacy-webcam URI. Īlternatively, your app can call the LaunchUriAsync method to launch the Settings app. In this example, a Hyperlink XAML control is used to launch the privacy settings page for the microphone using the ms-settings:privacy-microphone URI. To launch the Settings app, use the ms-settings: URI scheme as shown in the following examples. For more info, see Guidelines for privacy-aware apps. If your app can't access a sensitive resource, we recommend providing the user a convenient link to the privacy settings for that resource. ![]() Launching to the Settings app is an important part of writing a privacy-aware app. Use this URI scheme to launch the Windows Settings app to specific settings pages. This topic describes the ms-settings: URI scheme. Learn how to launch the Windows Settings app. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |