CarPlayConnectionObserver
@objc
public protocol CarPlayConnectionObserver : AnyObject
The CarPlayConnectionObserver protocol provides notification of a carplay unit connecting two the NavigationViewController.
-
Called when the NavigationViewController detects that a CarPlay device has been connected.
Declaration
Swift
@objc func didConnectToCarPlay()
-
Called when the NavigationViewController detects that a CarPlay device has been connected.
Declaration
Swift
@objc func didDisconnectFromCarPlay()