Xrm.Device (Client API reference)

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).

Client API Xrm object


Can you tell us about your documentation language preferences? Take a short survey.

The survey will take about seven minutes. No personal data is collected (privacy statement).