Other Type Aliases
The following type aliases are available globally.
-
Range of numeric values determining congestion level.
Congestion ranges work with
NumericCongestionLevelvalues that can be requested by specifyingAttributeOptions.numericCongestionLevelinDirectionOptions.attributeswhen making Directions request.Declaration
Swift
public typealias CongestionRange = Range<NumericCongestionLevel> -
Defines source of routing engine (online or offline) to be used for requests.
Declaration
Swift
public typealias RoutingProviderSource = MapboxRoutingProvider.Source -
A closure to be called when
RouteLegwas changed.Declaration
Swift
public typealias AdvanceLegCompletionHandler = (_ result: Result<RouteProgress, Error>) -> VoidParameters
resultResult, which in case of successfully changed leg contains the most recent
RouteProgressand error, in case of failure. -
Dictionary, which contains any custom user info related data on CarPlay (for example it’s used by
CPTrip, while filling it withCPRouteChoiceobjects or for storing user information inCPListItem).In case if
CPRouteChoice,CPListItemor otherCarPlayUserInfodependant object uses different type inuserInfoit may lead to undefined behavior.Declaration
Swift
public typealias CarPlayUserInfo = [String : Any?] -
A container view controller is a view controller that behaves as a navigation component; that is, it responds as the user progresses along a route according to the
NavigationServiceDelegateprotocol.Declaration
Swift
public typealias ContainerViewController = UIViewController & NavigationComponent -
A type that represents a
UIViewthat isCourseUpdatable.Declaration
Swift
public typealias UserCourseView = UIView & CourseUpdatable
Install in Dash
Other Type Aliases Reference