-
CarPlayManager
is the main object responsible for orchestrating interactions with a Mapbox map on CarPlay.Messages declared in the
CPApplicationDelegate
protocol should be sent to this object in the containing application’s application delegate. ImplementCarPlayManagerDelegate
in the containing application and assign an instance to thedelegate
property of yourCarPlayManager
instance.Note
It is very important you have a singleCarPlayManager
instance at any given time. This should be managed by yourUIApplicationDelegate
class if you choose to supply youraccessToken
to theCarPlayManager.eventsManager
viaNavigationEventsManager.init(dataSource:accessToken:mobileEventsManager)
, instead of the Info.plist. -
The activity during which a
See moreCPTemplate
is displayed. This enumeration is used to distinguish between different templates during different phases of user interaction.
-
CarPlayManagerDelegate
is the main integration point for Mapbox CarPlay support.Implement this protocol and assign an instance to the
See moredelegate
property of the shared instance ofCarPlayManager
.
-
CarPlayNavigationViewController
is a fully-featured turn-by-turn navigation UI for CarPlay.Seealso
NavigationViewController -
The
See moreCarPlayNavigationDelegate
protocol provides methods for reacting to significant events during turn-by-turn navigation withCarPlayNavigationViewController
.