Codeunit 7568 Geolocation

System Application, System.Device

Source AL, 126 lines

src/System Application/App/Geolocation/src/Geolocation.Codeunit.allines 18 to 33 of 126, Copyright (c) Microsoft Corporation. MIT

codeunit 7568 Geolocation{    Access = Public;    InherentEntitlements = X;    InherentPermissions = X;    var        GeolocationImpl: Codeunit "Geolocation Impl.";    /// <summary>    /// Requests a geographical location from the client device and returns whether the request was succesful.    /// </summary>    /// <returns>True if the geographical location data was retrieved and is available, and the user agreed to share it, otherwise false.</returns>    procedure RequestGeolocation(): Boolean    begin        exit(GeolocationImpl.RequestGeolocation(GeolocationImpl));

All 126 lines

Public procedures 11 in 29

RequestGeolocation(): Boolean17-29
GetGeolocation(var Latitude: Decimal; var Longitude: Decimal)17-29
IsAvailable(): Boolean17-29
HasGeolocation(): Boolean17-29
GetGeolocationStatus(): Enum "Geolocation Status"17-29
SetHighAccuracy(Enable: Boolean)17-29

All 11 procedures