You can see examples of native device APIs by using Capacitor APIs.