Implementing a Device API component

This sample component showcases Device API capabilities of the Power Apps control framework.

Device API component

Important

If you want to use the device API methods, you need to declare the usage of these method in the feature-usage node in the manifest file.

Available for

Model-driven and canvas apps

Code

You can download the complete sample component from here.

Download sample components
How to use the sample components
Image upload component
Device API
Power Apps component framework API reference
Power Apps component framework manifest schema reference