Hi,
That feature is more device specific and there is no WinRT API that provide access to that functionality.
Regards,
Christian HL
Microsoft Online Community Support
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.