Xrm.Device (Client API reference)
Applies to Dynamics 365 for Customer Engagement apps version 9.x
Provides methods to use native device capabilities of mobile devices.
Method | Description |
---|---|
captureAudio | Invokes the device microphone to record audio. |
captureImage | Invokes the device camera to capture an image. |
captureVideo | Invokes the device camera to record video. |
getBarcodeValue | Invokes the device camera to scan the barcode information, such as a product number. |
getCurrentPosition | Returns the current location using the device geolocation capability. |
pickFile | Opens a dialog box to select files from your computer (web client) or mobile device (mobile clients). |
Related topics
Feedback
We'd love to hear your thoughts. Choose the type you'd like to provide:
Our feedback system is built on GitHub Issues. Read more on our blog.
Loading feedback...