Package apple.uikit.protocol
Interface UIWindowSceneDelegate
-
- All Superinterfaces:
UISceneDelegate
public interface UIWindowSceneDelegate extends UISceneDelegate
API-Since: 13.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceUIWindowSceneDelegate.Block_windowScenePerformActionForShortcutItemCompletionHandler
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voidsetWindow(@Nullable UIWindow value)default @Nullable UIWindowwindow()default voidwindowSceneDidUpdateCoordinateSpaceInterfaceOrientationTraitCollection(@NotNull UIWindowScene windowScene, @NotNull UICoordinateSpace previousCoordinateSpace, long previousInterfaceOrientation, @NotNull UITraitCollection previousTraitCollection)Called when the coordinate space, interface orientation, or trait collection of a UIWindowScene changes Always called when a UIWindowScene moves between screensdefault voidwindowScenePerformActionForShortcutItemCompletionHandler(@NotNull UIWindowScene windowScene, @NotNull UIApplicationShortcutItem shortcutItem, @NotNull UIWindowSceneDelegate.Block_windowScenePerformActionForShortcutItemCompletionHandler completionHandler)Called when the user activates your application by selecting a shortcut on the home screen, and the window scene is already connected.default voidwindowSceneUserDidAcceptCloudKitShareWithMetadata(@NotNull UIWindowScene windowScene, @NotNull CKShareMetadata cloudKitShareMetadata)Called after the user indicates they want to accept a CloudKit sharing invitation in your application and the window scene is already connected.-
Methods inherited from interface apple.uikit.protocol.UISceneDelegate
sceneContinueUserActivity, sceneDidBecomeActive, sceneDidDisconnect, sceneDidEnterBackground, sceneDidFailToContinueUserActivityWithTypeError, sceneDidUpdateUserActivity, sceneOpenURLContexts, sceneRestoreInteractionStateWithUserActivity, sceneWillConnectToSessionOptions, sceneWillContinueUserActivityWithType, sceneWillEnterForeground, sceneWillResignActive, stateRestorationActivityForScene
-
-
-
-
Method Detail
-
setWindow
default void setWindow(@Nullable @Nullable UIWindow value)
-
window
@Nullable default @Nullable UIWindow window()
-
windowSceneDidUpdateCoordinateSpaceInterfaceOrientationTraitCollection
default void windowSceneDidUpdateCoordinateSpaceInterfaceOrientationTraitCollection(@NotNull @NotNull UIWindowScene windowScene, @NotNull @NotNull UICoordinateSpace previousCoordinateSpace, long previousInterfaceOrientation, @NotNull @NotNull UITraitCollection previousTraitCollection)Called when the coordinate space, interface orientation, or trait collection of a UIWindowScene changes Always called when a UIWindowScene moves between screens
-
windowScenePerformActionForShortcutItemCompletionHandler
default void windowScenePerformActionForShortcutItemCompletionHandler(@NotNull @NotNull UIWindowScene windowScene, @NotNull @NotNull UIApplicationShortcutItem shortcutItem, @NotNull @NotNull UIWindowSceneDelegate.Block_windowScenePerformActionForShortcutItemCompletionHandler completionHandler)Called when the user activates your application by selecting a shortcut on the home screen, and the window scene is already connected.
-
windowSceneUserDidAcceptCloudKitShareWithMetadata
default void windowSceneUserDidAcceptCloudKitShareWithMetadata(@NotNull @NotNull UIWindowScene windowScene, @NotNull @NotNull CKShareMetadata cloudKitShareMetadata)Called after the user indicates they want to accept a CloudKit sharing invitation in your application and the window scene is already connected. You should use the CKShareMetadata object's shareURL and containerIdentifier to schedule a CKAcceptSharesOperation, then start using the resulting CKShare and its associated record(s), which will appear in the CKContainer's shared database in a zone matching that of the record's owner.
-
-