WINRT_PRIVACY_POLICY_LABEL


Description:

[ Version ( since = "2.0.3" ) ]
[ CCode ( cname = "SDL_HINT_WINRT_PRIVACY_POLICY_LABEL" ) ]
public const string WINRT_PRIVACY_POLICY_LABEL

Label text for a WinRT app's privacy policy link

Network-enabled WinRT apps must include a privacy policy. On Windows 8, 8.1, and RT, Microsoft mandates that this policy be available via the Windows Settings charm. SDL provides code to add a link there, with it's label text being set via the optional hint, WINRT_PRIVACY_POLICY_LABEL.

Please note that a privacy policy's contents are not set via this hint. A separate hint, WINRT_PRIVACY_POLICY_URL, is used to link to the actual text of the policy.

The contents of this hint should be encoded as a UTF8 string.

The default value is "Privacy Policy". This hint should only be set during app initialization, preferably before any calls to SDL_Init.

For additional information on linking to a privacy policy, see the documentation for SDL.Hint.WINRT_PRIVACY_POLICY_URL.


Namespace: SDL.Hint
Package: sdl2



2022 vala-language.org