RoadAttributesDelegate
public protocol RoadAttributesDelegate : AnyObject
This protocol should be implemented in order to receive attributes of the current road.
-
Called whenever any attribute of the current road changes. It’s guaranteed to be called at least once for the first road the user is traveling on.
Declaration
Swift
func onRoadAttributesUpdated(_ roadAttributes: RoadAttributes)Parameters
roadAttributesThe object that contains attributes of the current road.