public interface CPTemplateApplicationSceneDelegate extends UISceneDelegate
| Modifier and Type | Method and Description |
|---|---|
default void |
templateApplicationSceneDidConnectInterfaceController(CPTemplateApplicationScene templateApplicationScene,
CPInterfaceController interfaceController)
The CarPlay screen has connected and is ready to present content.
|
default void |
templateApplicationSceneDidConnectInterfaceControllerToWindow(CPTemplateApplicationScene templateApplicationScene,
CPInterfaceController interfaceController,
CPWindow window)
The CarPlay screen has connected and is ready to present content.
|
default void |
templateApplicationSceneDidDisconnectInterfaceController(CPTemplateApplicationScene templateApplicationScene,
CPInterfaceController interfaceController)
The CarPlay screen has disconnected.
|
default void |
templateApplicationSceneDidDisconnectInterfaceControllerFromWindow(CPTemplateApplicationScene templateApplicationScene,
CPInterfaceController interfaceController,
CPWindow window)
The CarPlay screen has disconnected.
|
default void |
templateApplicationSceneDidSelectManeuver(CPTemplateApplicationScene templateApplicationScene,
CPManeuver maneuver)
If your application posts a @c CPManeuver while backgrounded, a notification banner may be presented to the user.
|
default void |
templateApplicationSceneDidSelectNavigationAlert(CPTemplateApplicationScene templateApplicationScene,
CPNavigationAlert navigationAlert)
If your application posts a @c CPNavigationAlert while backgrounded, a notification banner may be presented to the user.
|
sceneContinueUserActivity, sceneDidBecomeActive, sceneDidDisconnect, sceneDidEnterBackground, sceneDidFailToContinueUserActivityWithTypeError, sceneDidUpdateUserActivity, sceneOpenURLContexts, sceneRestoreInteractionStateWithUserActivity, sceneWillConnectToSessionOptions, sceneWillContinueUserActivityWithType, sceneWillEnterForeground, sceneWillResignActive, stateRestorationActivityForScenedefault void templateApplicationSceneDidConnectInterfaceControllerToWindow(CPTemplateApplicationScene templateApplicationScene, CPInterfaceController interfaceController, CPWindow window)
Your app should create its view controller and assign it to the @c rootViewController property of this window.
[@note] The interfaceController object will be strongly retained by the CPTemplateApplicationScene, the delegate does not need to retain it.
[@note] This method is provided only for navigation apps; other apps should use the variant that does not provide a window.
default void templateApplicationSceneDidDisconnectInterfaceControllerFromWindow(CPTemplateApplicationScene templateApplicationScene, CPInterfaceController interfaceController, CPWindow window)
[@note] This method is provided only for navigation apps; other apps should use the variant that does not provide a window.
default void templateApplicationSceneDidSelectManeuver(CPTemplateApplicationScene templateApplicationScene, CPManeuver maneuver)
default void templateApplicationSceneDidSelectNavigationAlert(CPTemplateApplicationScene templateApplicationScene, CPNavigationAlert navigationAlert)
default void templateApplicationSceneDidConnectInterfaceController(CPTemplateApplicationScene templateApplicationScene, CPInterfaceController interfaceController)
Your app should create its view controller and assign it to the @c rootViewController property of this window.
[@note] The interfaceController object will be strongly retained by the CPTemplateApplicationScene, the delegate does not need to retain it.
default void templateApplicationSceneDidDisconnectInterfaceController(CPTemplateApplicationScene templateApplicationScene, CPInterfaceController interfaceController)