HorizonSnapshotState
public struct HorizonSnapshotState : Equatable
State of the HorizonSnapshot that the HorizonEngine generates based on a set
of registered HorizonOptions.
-
Initializes instance of
HorizonSnapshotState.Declaration
Swift
public init(updateCounter: Int)Parameters
updateCounterA counter incremented on each
HorizonSnapshotupdate. -
Initializes instance of
HorizonSnapshotState.Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public init(updateCounter: Int, resetCounter: Int)Parameters
updateCounterA counter incremented on each
HorizonSnapshotupdate.resetCounterA counter incremented on each horizon reset.
-
A counter incremented on each
HorizonSnapshotupdate.Declaration
Swift
public let updateCounter: Int -
A counter incremented on each horizon reset. A horizon reset occurs following:
- A map update
- A vehicle profile update
- A route update
- Language update
- When the current input position does not belong to any of the existing horizon paths (for example, a jump to a new place).
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public let resetCounter: Int
TomTom SDK for iOS (0.53.1)
HorizonSnapshotState