ElectronicHorizonDelegate
public protocol ElectronicHorizonDelegate : AnyObject
Interface to listen to updates during the ElectronicHorizon.update method execution.
Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.
-
Called whenever there is a change in the
ElectronicHorizonUpdatestructure or vehicle turned into a side road.Declaration
Swift
func onElectronicHorizonUpdated(electronicHorizonUpdate: ElectronicHorizonUpdate)Parameters
electronicHorizonUpdateNewly calculated
ElectronicHorizonPathswith the difference from previous update.