CarPlayManager
CarPlayManager
is the main object responsible for orchestrating interactions with a Mapbox map on CarPlay.
You do not create instances of this object yourself; instead, use the CarPlayManager.shared
class property.
Messages declared in the CPApplicationDelegate
protocol should be sent to this object in the containing application’s application delegate. Implement CarPlayManagerDelegate
in the containing application and assign an instance to the delegate
property of the CarPlayManager
shared instance.
-
-
-
Developers should assign their own object as a delegate implementing the CarPlayManagerDelegate protocol for customization.
-
If set to
true
, turn-by-turn directions will simulate the user traveling along the selected route when initiated from CarPlay. -
This property specifies a multiplier to be applied to the user’s speed in simulation mode.
-
The shared CarPlay manager.
-
-
-
-
-
A Boolean value indicating whether the phone is connected to CarPlay.
-