Codeunit 7569 Geolocation Impl.

System Application, System.Device

Source AL, 154 lines

src/System Application/App/Geolocation/src/GeolocationImpl.Codeunit.allines 10 to 25 of 154, Copyright (c) Microsoft Corporation. MIT

codeunit 7569 "Geolocation Impl."{    Access = Internal;    InherentEntitlements = X;    InherentPermissions = X;    var        GeolocationPage: Page Geolocation;        LocationNotRetrievedErrorMsg: Label 'The geographical location data was not retrieved.';        CachedLocation: DotNet Location;        LocationProvider: DotNet LocationProvider;        LocationOptions: DotNet LocationOptions;        LocationOptionsEnabled: Boolean;    procedure RequestGeolocation(GeolocationImpl: Codeunit "Geolocation Impl."): Boolean    begin

All 154 lines

Events 2 in 29

[InternalEvent] OnBeforeLocationInitialize(var Location: DotNet Location; var IsHandled: Boolean)17-29
[InternalEvent] OnIsLocationAvailable(var IsAvailable: Boolean)17-29

Public procedures 13 in 29

RequestGeolocation(GeolocationImpl: Codeunit "Geolocation Impl."): Boolean17-29
LocationInteractionOnOpenPage(var LocationProvdr: DotNet LocationProvider; var LocationAvailable: Boolean)17-29
LocationInteractionOnLocationAvailable(Location: DotNet Location)17-29
IsAvailable(): Boolean17-29
HasGeolocation(): Boolean17-29
GetGeolocation(var Latitude: Decimal; var Longitude: Decimal)17-29

All 13 procedures