Positioning
-
Authentication data
See moreDeclaration
Swift
public struct AuthenticationData : Hashable -
Authentication error
See moreDeclaration
Swift
public enum AuthenticationError : UInt32, CaseIterable, Codableextension AuthenticationError : Error -
Confirmation action specific status codes.
See moreDeclaration
Swift
public enum ConfirmationStatus : UInt32, CaseIterable, Codable -
Indicates the desired location accuracy, however the actual accuracy is not guaranteed. When requesting high-accuracy locations, the initial update delivered by the LocationEngine may not have the requested accuracy. Requesting higher accuracy location updates usually means higher power consumption, therefore you should use the lowest accuracy suitable for your use case to preserve the device battery.
See moreDeclaration
Swift
public enum LocationAccuracy : UInt32, CaseIterable, Codable -
Public protocol that describes the behaviour of
See moreLocationEngine. Implementation is platform-specific.Declaration
Swift
public protocol LocationEngineBase : AnyObject -
Indicates the status of the LocationEngine.
See moreDeclaration
Swift
public enum LocationEngineStatus : UInt32, CaseIterable, Codable -
Location features supported by HERE positioning.
See moreDeclaration
Swift
public enum LocationFeature : UInt32, CaseIterable, Codable -
This class handles location updates received according to the desired LocationAccuracy. Each instance of this class will be using internally the same client providing the actual location updates. For that reason, only one LocationEngine can be started at a time. Multiple delegates can be attached, either to receive location updates, see LocationUpdateDelegate, or status updates, see LocationStatusDelegate. When a different LocationAccuracy is desired, the LocationEngine needs to be stopped and started again.
See moreDeclaration
Swift
public class LocationEngine : LocationEngineBase -
Use the
LocationSimulatorto generate locations along a route or a GPX document. It notifies the registered object about the current location at a fixed interval. In order to customize the interval, seeLocationSimulatorOptions. The locations are closely matched to the shape and proceeded from the start to the destination as found in the provided route or the GPX document. When providing a route, theLocationSimulatoruses a base speed taken from each span found in the provided route object. This base speed can be multiplied upfront with a customspeedFactorfor simulation purposes. Effectively, this means that traffic-related information is not considered to adjust the speed of the simulation. For theGPXTrack, a speed is either based on timestamps in the original file or provided by the user. The following data is read from aGPXTrackand inserted into the providedLocationobject:latitude,longitude,altitude,time,bearingInDegrees,speedInMetersPerSecond,horizontalAccuracyInMeters,verticalAccuracyInMetersandlocationTechnology.Note that simulation works offline and independent from any map data
- only the information found in the provided route or GPX document is considered.
- When initializing the
LocationSimulatorwith a route, then interpolations take place between the vertices of the route’s polyline. The distance between interpolated locations is a function of the current span’s speed and the set notification interval. - When initializing the
LocationSimulatorwith a GPX file, theLocationSimulatordoes not apply any interpolation on the provided location data as this would shadow the recorded GPX data.
Notifications will stop after the entire route has been traveled.
Note: Map-matched locations are only accessible from
See moreRouteProgress.Declaration
Swift
public class LocationSimulatorextension LocationSimulator: NativeBaseextension LocationSimulator: Hashable -
Options to specify how the location simulator will behave.
See moreDeclaration
Swift
public struct LocationSimulatorOptions : Hashable -
Protocol for listening the LocationEngine status updates.
See moreDeclaration
Swift
public protocol LocationStatusDelegate : AnyObject
Positioning Reference