Other Classes
The following classes are available globally.
-
Declaration
Swift
@objc(MBXAccounts) public class Accounts : NSObject -
See moreDispatchTimeris a general-purpose wrapper over theDispatchSourceTimermechanism in GCD.Declaration
Swift
public class DispatchTimer -
Declaration
Swift
open class LegacyRouteController : NSObject, Router, InternalRouter, CLLocationManagerDelegate -
Provides alternative access to routing API.
Use this class instead
See moreDirectionsrequests wrapper to request new routes or refresh an existing one. Depending onRouterSource,MapboxRoutingProviderwill use online and/or onboard routing engines. This may be used when designing purely online or offline apps, or when you need to provide best possible service regardless of internet collection.Declaration
Swift
public class MapboxRoutingProvider : RoutingProvider -
Proactively fetches tiles which may become necessary if the device loses its Internet connection at some point during passive or active turn-by-turn navigation.
Typically, you initialize an instance of this class and retain it as long as caching is required.
See moreNote
This object uses global tile store configuration fromNavigationSettings.tileStoreConfiguration.Declaration
Swift
public class PredictiveCacheManager -
A banner view that contains the current step instruction along a route and responds to tap and swipe gestures.
Declaration
Swift
open class StepInstructionsView : BaseInstructionsBannerView -
UITableViewCellinstance that provides the ability to show a current step instruction along a route.Declaration
Swift
open class StepTableViewCell : UITableViewCell
Install in Dash
Other Classes Reference