Positioning

  • Authentication data

    See more

    Declaration

    Swift

    public struct AuthenticationData : Hashable
  • Authentication error

    See more

    Declaration

    Swift

    public enum AuthenticationError : UInt32, CaseIterable, Codable
    extension AuthenticationError : Error
  • Confirmation action specific status codes.

    See more

    Declaration

    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 more

    Declaration

    Swift

    public enum LocationAccuracy : UInt32, CaseIterable, Codable
  • Public protocol that describes the behaviour of LocationEngine. Implementation is platform-specific.

    See more

    Declaration

    Swift

    public protocol LocationEngineBase : AnyObject
  • Indicates the status of the LocationEngine.

    See more

    Declaration

    Swift

    public enum LocationEngineStatus : UInt32, CaseIterable, Codable
  • Location features supported by HERE positioning.

    See more

    Declaration

    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 more

    Declaration

    Swift

    public class LocationEngine : LocationEngineBase
  • Use the LocationSimulator to 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, see LocationSimulatorOptions. 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, the LocationSimulator uses a base speed taken from each span found in the provided route object. This base speed can be multiplied upfront with a custom speedFactor for simulation purposes. Effectively, this means that traffic-related information is not considered to adjust the speed of the simulation. For the GPXTrack, a speed is either based on timestamps in the original file or provided by the user. The following data is read from a GPXTrack and inserted into the provided Location object: latitude, longitude, altitude, time, bearingInDegrees, speedInMetersPerSecond, horizontalAccuracyInMeters, verticalAccuracyInMeters and locationTechnology.

    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 LocationSimulator with 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 LocationSimulator with a GPX file, the LocationSimulator does 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 RouteProgress.

    See more

    Declaration

    Swift

    public class LocationSimulator
    extension LocationSimulator: NativeBase
    extension LocationSimulator: Hashable
  • Options to specify how the location simulator will behave.

    See more

    Declaration

    Swift

    public struct LocationSimulatorOptions : Hashable
  • Protocol for listening the LocationEngine status updates.

    See more

    Declaration

    Swift

    public protocol LocationStatusDelegate : AnyObject