-
Hello. I'm trying to get my battery information via WinUI 3. Then, I find this Devices and sensors. It says 'The Windows App SDK currently does not provide APIs related to devices and sensors scenarios.' But, I'm navigated to Get battery information following links in Windows OS features. It confused me a lot when I use WinRT APIs. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hi themerror, Thank you for reaching out. Hopefully I can answer some of your questions.
The Windows App SDK, how I see it, is a layer above the windows APIs. For example, Environment Manager. Environment manager is an abstraction layer above the registry APIs, that lets developers quickly edit environment variables without having to bother with directly calling, and subsequently, learning, the registry APIs. Here is a more formal explanation of what Windows App SDK is What Windows App SDK is not. Windows App SDK is not a replacement for the Windows SDK.
Hopefully that answered some of your questions. Please keep them coming if you have more. |
Beta Was this translation helpful? Give feedback.
-
Windows SDK is the old Platform SDK, the Libraries and Headers for Win32 apps |
Beta Was this translation helpful? Give feedback.
Hi themerror,
Thank you for reaching out. Hopefully I can answer some of your questions.
The Windows App SDK, how I see it, is a layer above the windows APIs. For example, Environment Manager. Environment manager is an abstraction layer above the registry APIs, that lets developers quickly edit environment variables without having to bother with directly calling, and subsequently, learning, the registry APIs. Here is a more form…