Wiki Page Content

DRAFT

SDL_HINT_WINRT_PRIVACY_POLICY_URL

A hint that specifies a URL to a WinRT app's privacy policy.

Values

X

a URL to a WinRT app's privacy policy

Default

By default this hint is not set.

Code Examples

You can add your code example here

Remarks

All network-enabled WinRT apps must make a privacy policy available to its users. On Windows 8, 8.1, and RT, Microsoft mandates that this policy be available in the Windows Settings charm, as accessed from within the app. SDL provides code to add a URL-based link there, which can point to the app's privacy policy.

To setup a URL to an app's privacy policy, set SDL_HINT_WINRT_PRIVACY_POLICY_URL before calling any SDL_Init() functions. The contents of the hint should be a valid URL. For example, "http://www.example.com".

The default value is "", which will prevent SDL from adding a privacy policy link to the Settings charm. This hint should only be set during app init.

The label text of an app's "Privacy Policy" link may be customized via another hint, SDL_HINT_WINRT_PRIVACY_POLICY_LABEL.

Please note that on Windows Phone, Microsoft does not provide standard UI for displaying a privacy policy link, and as such, SDL_HINT_WINRT_PRIVACY_POLICY_URL will not get used on that platform. Network-enabled phone apps should display their privacy policy through some other, in-app means.

Version

This hint is available since SDL 2.0.3.


CategoryDefine, CategoryHints

None: SDL_HINT_WINRT_PRIVACY_POLICY_URL (last edited 2016-05-12 20:33:12 by PhilippWiesemann)

Feedback
Please include your contact information if you'd like to receive a reply.
Submit