Package apple.carplay.protocol
Interface CPApplicationDelegate
-
- All Superinterfaces:
UIApplicationDelegate
@Deprecated public interface CPApplicationDelegate extends UIApplicationDelegate
Deprecated.A set of methods that are called by the @c UIApplication singleton in response to CarPlay lifecycle events. This must be implemented by the same object that serves as your application's delegate object. API-Since: 12.0 Deprecated-Since: 13.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface apple.uikit.protocol.UIApplicationDelegate
UIApplicationDelegate.Block_applicationContinueUserActivityRestorationHandler, UIApplicationDelegate.Block_applicationDidReceiveRemoteNotificationFetchCompletionHandler, UIApplicationDelegate.Block_applicationHandleActionWithIdentifierForLocalNotificationCompletionHandler, UIApplicationDelegate.Block_applicationHandleActionWithIdentifierForLocalNotificationWithResponseInfoCompletionHandler, UIApplicationDelegate.Block_applicationHandleActionWithIdentifierForRemoteNotificationCompletionHandler, UIApplicationDelegate.Block_applicationHandleActionWithIdentifierForRemoteNotificationWithResponseInfoCompletionHandler, UIApplicationDelegate.Block_applicationHandleEventsForBackgroundURLSessionCompletionHandler, UIApplicationDelegate.Block_applicationHandleIntentCompletionHandler, UIApplicationDelegate.Block_applicationHandleWatchKitExtensionRequestReply, UIApplicationDelegate.Block_applicationPerformActionForShortcutItemCompletionHandler, UIApplicationDelegate.Block_applicationPerformFetchWithCompletionHandler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description voidapplicationDidConnectCarInterfaceControllerToWindow(@NotNull UIApplication application, @NotNull CPInterfaceController interfaceController, @NotNull CPWindow window)Deprecated.The CarPlay screen has connected and is ready to present content.voidapplicationDidDisconnectCarInterfaceControllerFromWindow(@NotNull UIApplication application, @NotNull CPInterfaceController interfaceController, @NotNull CPWindow window)Deprecated.The CarPlay screen has disconnected.default voidapplicationDidSelectManeuver(@NotNull UIApplication application, @NotNull CPManeuver maneuver)Deprecated.If your application posts a @c CPManeuver while backgrounded, a notification banner may be presented to the user.default voidapplicationDidSelectNavigationAlert(@NotNull UIApplication application, @NotNull CPNavigationAlert navigationAlert)Deprecated.If your application posts a @c CPNavigationAlert while backgrounded, a notification banner may be presented to the user.-
Methods inherited from interface apple.uikit.protocol.UIApplicationDelegate
applicationConfigurationForConnectingSceneSessionOptions, applicationContinueUserActivityRestorationHandler, applicationDidBecomeActive, applicationDidChangeStatusBarFrame, applicationDidChangeStatusBarOrientation, applicationDidDecodeRestorableStateWithCoder, applicationDidDiscardSceneSessions, applicationDidEnterBackground, applicationDidFailToContinueUserActivityWithTypeError, applicationDidFailToRegisterForRemoteNotificationsWithError, applicationDidFinishLaunching, applicationDidFinishLaunchingWithOptions, applicationDidReceiveLocalNotification, applicationDidReceiveMemoryWarning, applicationDidReceiveRemoteNotification, applicationDidReceiveRemoteNotificationFetchCompletionHandler, applicationDidRegisterForRemoteNotificationsWithDeviceToken, applicationDidRegisterUserNotificationSettings, applicationDidUpdateUserActivity, applicationHandleActionWithIdentifierForLocalNotificationCompletionHandler, applicationHandleActionWithIdentifierForLocalNotificationWithResponseInfoCompletionHandler, applicationHandleActionWithIdentifierForRemoteNotificationCompletionHandler, applicationHandleActionWithIdentifierForRemoteNotificationWithResponseInfoCompletionHandler, applicationHandleEventsForBackgroundURLSessionCompletionHandler, applicationHandleIntentCompletionHandler, applicationHandleOpenURL, applicationHandlerForIntent, applicationHandleWatchKitExtensionRequestReply, applicationOpenURLOptions, applicationOpenURLSourceApplicationAnnotation, applicationPerformActionForShortcutItemCompletionHandler, applicationPerformFetchWithCompletionHandler, applicationProtectedDataDidBecomeAvailable, applicationProtectedDataWillBecomeUnavailable, applicationShouldAllowExtensionPointIdentifier, applicationShouldAutomaticallyLocalizeKeyCommands, applicationShouldRequestHealthAuthorization, applicationShouldRestoreApplicationState, applicationShouldRestoreSecureApplicationState, applicationShouldSaveApplicationState, applicationShouldSaveSecureApplicationState, applicationSignificantTimeChange, applicationSupportedInterfaceOrientationsForWindow, applicationUserDidAcceptCloudKitShareWithMetadata, applicationViewControllerWithRestorationIdentifierPathCoder, applicationWillChangeStatusBarFrame, applicationWillChangeStatusBarOrientationDuration, applicationWillContinueUserActivityWithType, applicationWillEncodeRestorableStateWithCoder, applicationWillEnterForeground, applicationWillFinishLaunchingWithOptions, applicationWillResignActive, applicationWillTerminate, setWindow, window
-
-
-
-
Method Detail
-
applicationDidConnectCarInterfaceControllerToWindow
void applicationDidConnectCarInterfaceControllerToWindow(@NotNull @NotNull UIApplication application, @NotNull @NotNull CPInterfaceController interfaceController, @NotNull @NotNull CPWindow window)Deprecated.The CarPlay screen has connected and is ready to present content. Your app should create its view controller and assign it to the @c rootViewController property of this window. [@note] It is the responsibility of the delegate to maintain a reference to the interface controller beyond the scope of this method.
-
applicationDidDisconnectCarInterfaceControllerFromWindow
void applicationDidDisconnectCarInterfaceControllerFromWindow(@NotNull @NotNull UIApplication application, @NotNull @NotNull CPInterfaceController interfaceController, @NotNull @NotNull CPWindow window)Deprecated.The CarPlay screen has disconnected.
-
applicationDidSelectManeuver
default void applicationDidSelectManeuver(@NotNull @NotNull UIApplication application, @NotNull @NotNull CPManeuver maneuver)Deprecated.If your application posts a @c CPManeuver while backgrounded, a notification banner may be presented to the user. If the user taps on that banner, your application will launch on the car screen and this method will be called with the maneuver the user tapped.
-
applicationDidSelectNavigationAlert
default void applicationDidSelectNavigationAlert(@NotNull @NotNull UIApplication application, @NotNull @NotNull CPNavigationAlert navigationAlert)Deprecated.If your application posts a @c CPNavigationAlert while backgrounded, a notification banner may be presented to the user. If the user taps on that banner, your application will launch on the car screen and this method will be called with the alert the user tapped.
-
-