Table of Contents

Namespace System.Device

Codeunit

Name Summary
Codeunit System.Device.Camera Provides the functions for getting the data from a camera on the client device.
Codeunit System.Device.Geolocation Provides functionality for getting geographical location information from the client device. <example> ``` AL Geolocation.SetHighAccuracy(true); if Geolocation.RequestGeolocation() then Geolocation.GetGeolocation(Latitude, Longitude); ``` </example>
Codeunit System.Device."Printer Setup" Exposes functionality to manage printer settings.

Page

Name Summary
Page System.Device.Camera Provides an interface for accessing the camera on the client device.
Page System.Device."Media Upload" Provides an interface for accessing the media on the client device.
Page System.Device.Geolocation This page shows instructional text for the user and is opened when the geographical location of the client device is requested.
Page System.Device."Printer Management" Exposes the list of available printers.

ControlAddIn

Name Summary
ControlAddIn System.Device.BarcodeScannerProviderAddIn The failure reason for the barcode scanner.
ControlAddIn System.Device.CameraBarcodeScannerProviderAddIn The control add-in for the camera barcode scanner provider.

Enum

Name Summary
Enum System.Device."Image Encoding" Specifies the supported encodings for the Camera Interaction page.
Enum System.Device."Media Type" Specifies media type for the Media Interaction page.
Enum System.Device.BarcodeFailure The failure for the barcode scanner.
Enum System.Device."Geolocation Status" Specifies the status of the geographical location data.
Enum System.Device."Printer Paper Kind" Specifies the standard paper sizes
Enum System.Device."Printer Paper Source Kind" Standard paper sources.
Enum System.Device."Printer Type" Specifies the type of a printer.
Enum System.Device."Printer Unit" Specifies several of the units of measure used for printing.

Events

Name Summary
OnOpenPrinterSettings Integration event that is called to view and edit the settings of a printer. Subscribe to this event if you want to introduce user configurable settings for a printer.
OnSetAsDefaultPrinter Integration event that is called to set the default printer for all reports. Subscribe to this event to specify a value in the Printer Name field and leave the User ID and Report ID fields blank in Printers Selection.
GetPrinterSelectionsPage Integration event that is called to get the page ID of the Printer Selection page.