Codeunit 1907 Camera

System Application, System.Device

Source AL, 55 lines

src/System Application/App/Camera and Media Interaction/src/Camera.Codeunit.allines 11 to 26 of 55, Copyright (c) Microsoft Corporation. MIT

codeunit 1907 Camera{    Access = Public;    InherentEntitlements = X;    InherentPermissions = X;    var        CameraImpl: Codeunit "Camera Impl.";    /// <summary>    /// Takes a picture from a camera on the client device and returns the data in the InStream.    /// </summary>    /// <param name="PictureInStream">An InStream object that will hold the image in case taking a picture was successful.</param>    /// <param name="PictureName">A generated name for the taken picture. It will include the current date and time (for example, "Picture_05_03_2020_12_49_23.jpeg").</param>    /// <returns>True if the camera is available, the user took a picture and decided to use it, false otherwise.</returns>    procedure GetPicture(PictureInStream: InStream; var PictureName: Text): Boolean

All 55 lines

Public procedures 3 in 29

GetPicture(PictureInStream: InStream; var PictureName: Text): Boolean17-29changed in 20
IsAvailable(): Boolean17-29
GetPicture(Quality: Integer; PictureInStream: InStream; var PictureName: Text): Booleannew in 21

All 4 procedures in 17-29

Changes 1 in 23

List17181920212223242526272829
Procedures1111
AddPicture(RecordVariant: Variant; FieldNo: Integer): Booleangone after 22
gone

All 4 changes in 17-29