OfflineHorizonEngine
public class OfflineHorizonEngine : HorizonEngine
Implements the default Offline Horizon.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Declaration
Swift
public func registerHorizonOptions(options: HorizonOptions) throws
-
Declaration
Swift
public func unregisterHorizonOptions(options: HorizonOptions) throws
-
Generate the horizon
Declaration
Swift
public func generateHorizon(options: [HorizonOptions], navigationSnapshot: NavigationSnapshot) throws -> [HorizonResult]
Parameters
options
List of requested Horizon Options.
session
The current navigation snapshot.
Return Value
An array with horizon results.