Share via


IUIWindowSceneDelegate Interface

Definition

This interface represents the Objective-C protocol UIWindowSceneDelegate.

[Foundation.Protocol(Name="UIWindowSceneDelegate", WrapperType=typeof(UIKit.UIWindowSceneDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidUpdateCoordinateSpace", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIWindowScene), typeof(UIKit.IUICoordinateSpace), typeof(UIKit.UIInterfaceOrientation), typeof(UIKit.UITraitCollection) }, Selector="windowScene:didUpdateCoordinateSpace:interfaceOrientation:traitCollection:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidUpdateEffectiveGeometry", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIWindowScene), typeof(UIKit.UIWindowSceneGeometry) }, Selector="windowScene:didUpdateEffectiveGeometry:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PerformAction", ParameterBlockProxy=new System.Type[] { null, null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V4) }, ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIWindowScene), typeof(UIKit.UIApplicationShortcutItem), typeof(System.Action<System.Boolean>) }, Selector="windowScene:performActionForShortcutItem:completionHandler:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="UserDidAcceptCloudKitShare", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIWindowScene), typeof(CloudKit.CKShareMetadata) }, Selector="windowScene:userDidAcceptCloudKitShareWithMetadata:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetPreferredWindowingControlStyle", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIWindowScene) }, ReturnType=typeof(UIKit.UISceneWindowingControlStyle), Selector="preferredWindowingControlStyleForScene:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Strong, GetterSelector="window", IsProperty=true, IsRequired=false, IsStatic=false, Name="Window", PropertyType=typeof(UIKit.UIWindow), Selector="window", SetterSelector="setWindow:")]
public interface IUIWindowSceneDelegate : IDisposable, UIKit.IUISceneDelegate
[Foundation.Protocol(Name="UIWindowSceneDelegate", WrapperType=typeof(UIKit.UIWindowSceneDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidUpdateCoordinateSpace", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIWindowScene), typeof(UIKit.IUICoordinateSpace), typeof(UIKit.UIInterfaceOrientation), typeof(UIKit.UITraitCollection) }, Selector="windowScene:didUpdateCoordinateSpace:interfaceOrientation:traitCollection:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidUpdateEffectiveGeometry", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIWindowScene), typeof(UIKit.UIWindowSceneGeometry) }, Selector="windowScene:didUpdateEffectiveGeometry:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="UserDidAcceptCloudKitShare", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIWindowScene), typeof(CloudKit.CKShareMetadata) }, Selector="windowScene:userDidAcceptCloudKitShareWithMetadata:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetPreferredWindowingControlStyle", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIWindowScene) }, ReturnType=typeof(UIKit.UISceneWindowingControlStyle), Selector="preferredWindowingControlStyleForScene:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Strong, GetterSelector="window", IsProperty=true, IsRequired=false, IsStatic=false, Name="Window", PropertyType=typeof(UIKit.UIWindow), Selector="window", SetterSelector="setWindow:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PerformAction", ParameterBlockProxy=new System.Type[] { null, null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V2) }, ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIWindowScene), typeof(UIKit.UIApplicationShortcutItem), typeof(System.Action<System.Boolean>) }, Selector="windowScene:performActionForShortcutItem:completionHandler:")]
public interface IUIWindowSceneDelegate : IDisposable, UIKit.IUISceneDelegate
[Foundation.Protocol(Name="UIWindowSceneDelegate", WrapperType=typeof(UIKit.UIWindowSceneDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidUpdateEffectiveGeometry", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIWindowScene), typeof(UIKit.UIWindowSceneGeometry) }, Selector="windowScene:didUpdateEffectiveGeometry:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="UserDidAcceptCloudKitShare", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIWindowScene), typeof(CloudKit.CKShareMetadata) }, Selector="windowScene:userDidAcceptCloudKitShareWithMetadata:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetPreferredWindowingControlStyle", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIWindowScene) }, ReturnType=typeof(UIKit.UISceneWindowingControlStyle), Selector="preferredWindowingControlStyleForScene:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Strong, GetterSelector="window", IsProperty=true, IsRequired=false, IsStatic=false, Name="Window", PropertyType=typeof(UIKit.UIWindow), Selector="window", SetterSelector="setWindow:")]
public interface IUIWindowSceneDelegate : IDisposable, UIKit.IUISceneDelegate
[<Foundation.Protocol(Name="UIWindowSceneDelegate", WrapperType=typeof(UIKit.UIWindowSceneDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidUpdateCoordinateSpace", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIWindowScene), typeof(UIKit.IUICoordinateSpace), typeof(UIKit.UIInterfaceOrientation), typeof(UIKit.UITraitCollection) }, Selector="windowScene:didUpdateCoordinateSpace:interfaceOrientation:traitCollection:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidUpdateEffectiveGeometry", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIWindowScene), typeof(UIKit.UIWindowSceneGeometry) }, Selector="windowScene:didUpdateEffectiveGeometry:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PerformAction", ParameterBlockProxy=new System.Type[] { null, null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V4) }, ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIWindowScene), typeof(UIKit.UIApplicationShortcutItem), typeof(System.Action<System.Boolean>) }, Selector="windowScene:performActionForShortcutItem:completionHandler:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="UserDidAcceptCloudKitShare", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIWindowScene), typeof(CloudKit.CKShareMetadata) }, Selector="windowScene:userDidAcceptCloudKitShareWithMetadata:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetPreferredWindowingControlStyle", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIWindowScene) }, ReturnType=typeof(UIKit.UISceneWindowingControlStyle), Selector="preferredWindowingControlStyleForScene:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Strong, GetterSelector="window", IsProperty=true, IsRequired=false, IsStatic=false, Name="Window", PropertyType=typeof(UIKit.UIWindow), Selector="window", SetterSelector="setWindow:")>]
type IUIWindowSceneDelegate = interface
    interface INativeObject
    interface IDisposable
    interface IUISceneDelegate
[<Foundation.Protocol(Name="UIWindowSceneDelegate", WrapperType=typeof(UIKit.UIWindowSceneDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidUpdateCoordinateSpace", ParameterByRef=new System.Boolean[] { false, false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIWindowScene), typeof(UIKit.IUICoordinateSpace), typeof(UIKit.UIInterfaceOrientation), typeof(UIKit.UITraitCollection) }, Selector="windowScene:didUpdateCoordinateSpace:interfaceOrientation:traitCollection:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidUpdateEffectiveGeometry", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIWindowScene), typeof(UIKit.UIWindowSceneGeometry) }, Selector="windowScene:didUpdateEffectiveGeometry:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="UserDidAcceptCloudKitShare", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIWindowScene), typeof(CloudKit.CKShareMetadata) }, Selector="windowScene:userDidAcceptCloudKitShareWithMetadata:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetPreferredWindowingControlStyle", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIWindowScene) }, ReturnType=typeof(UIKit.UISceneWindowingControlStyle), Selector="preferredWindowingControlStyleForScene:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Strong, GetterSelector="window", IsProperty=true, IsRequired=false, IsStatic=false, Name="Window", PropertyType=typeof(UIKit.UIWindow), Selector="window", SetterSelector="setWindow:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="PerformAction", ParameterBlockProxy=new System.Type[] { null, null, typeof(ObjCRuntime.Trampolines+NIDActionArity1V2) }, ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIWindowScene), typeof(UIKit.UIApplicationShortcutItem), typeof(System.Action<System.Boolean>) }, Selector="windowScene:performActionForShortcutItem:completionHandler:")>]
type IUIWindowSceneDelegate = interface
    interface INativeObject
    interface IDisposable
    interface IUISceneDelegate
[<Foundation.Protocol(Name="UIWindowSceneDelegate", WrapperType=typeof(UIKit.UIWindowSceneDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidUpdateEffectiveGeometry", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIWindowScene), typeof(UIKit.UIWindowSceneGeometry) }, Selector="windowScene:didUpdateEffectiveGeometry:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="UserDidAcceptCloudKitShare", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UIWindowScene), typeof(CloudKit.CKShareMetadata) }, Selector="windowScene:userDidAcceptCloudKitShareWithMetadata:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetPreferredWindowingControlStyle", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIWindowScene) }, ReturnType=typeof(UIKit.UISceneWindowingControlStyle), Selector="preferredWindowingControlStyleForScene:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Strong, GetterSelector="window", IsProperty=true, IsRequired=false, IsStatic=false, Name="Window", PropertyType=typeof(UIKit.UIWindow), Selector="window", SetterSelector="setWindow:")>]
type IUIWindowSceneDelegate = interface
    interface INativeObject
    interface IDisposable
    interface IUISceneDelegate
Derived
Attributes
Implements

Remarks

A class that implements this interface (and subclasses NSObject) will be exported to Objective-C as implementing the Objective-C protocol this interface represents.

A class may also implement members from this interface to implement members from the protocol.

Properties

Name Description
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)
Window

Methods

Name Description
ContinueUserActivity(UIScene, NSUserActivity) (Inherited from IUISceneDelegate)
DidBecomeActive(UIScene) (Inherited from IUISceneDelegate)
DidDisconnect(UIScene) (Inherited from IUISceneDelegate)
DidEnterBackground(UIScene) (Inherited from IUISceneDelegate)
DidFailToContinueUserActivity(UIScene, String, NSError) (Inherited from IUISceneDelegate)
DidUpdateCoordinateSpace(UIWindowScene, IUICoordinateSpace, UIInterfaceOrientation, UITraitCollection)
DidUpdateEffectiveGeometry(UIWindowScene, UIWindowSceneGeometry)
DidUpdateUserActivity(UIScene, NSUserActivity) (Inherited from IUISceneDelegate)
GetPreferredWindowingControlStyle(UIWindowScene)
GetStateRestorationActivity(UIScene) (Inherited from IUISceneDelegate)
OpenUrlContexts(UIScene, NSSet<UIOpenUrlContext>) (Inherited from IUISceneDelegate)
PerformAction(UIWindowScene, UIApplicationShortcutItem, Action<Boolean>)
RestoreInteractionState(UIScene, NSUserActivity) (Inherited from IUISceneDelegate)
UserDidAcceptCloudKitShare(UIWindowScene, CKShareMetadata)
WillConnect(UIScene, UISceneSession, UISceneConnectionOptions) (Inherited from IUISceneDelegate)
WillContinueUserActivity(UIScene, String) (Inherited from IUISceneDelegate)
WillEnterForeground(UIScene) (Inherited from IUISceneDelegate)
WillResignActive(UIScene) (Inherited from IUISceneDelegate)

Extension Methods

Name Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)
ContinueUserActivity(IUISceneDelegate, UIScene, NSUserActivity)
DidBecomeActive(IUISceneDelegate, UIScene)
DidDisconnect(IUISceneDelegate, UIScene)
DidEnterBackground(IUISceneDelegate, UIScene)
DidFailToContinueUserActivity(IUISceneDelegate, UIScene, String, NSError)
DidUpdateUserActivity(IUISceneDelegate, UIScene, NSUserActivity)
GetStateRestorationActivity(IUISceneDelegate, UIScene)
OpenUrlContexts(IUISceneDelegate, UIScene, NSSet<UIOpenUrlContext>)
RestoreInteractionState(IUISceneDelegate, UIScene, NSUserActivity)
WillConnect(IUISceneDelegate, UIScene, UISceneSession, UISceneConnectionOptions)
WillContinueUserActivity(IUISceneDelegate, UIScene, String)
WillEnterForeground(IUISceneDelegate, UIScene)
WillResignActive(IUISceneDelegate, UIScene)
DidUpdateCoordinateSpace(IUIWindowSceneDelegate, UIWindowScene, IUICoordinateSpace, UIInterfaceOrientation, UITraitCollection)
DidUpdateEffectiveGeometry(IUIWindowSceneDelegate, UIWindowScene, UIWindowSceneGeometry)
GetPreferredWindowingControlStyle(IUIWindowSceneDelegate, UIWindowScene)
GetWindow(IUIWindowSceneDelegate)
PerformAction(IUIWindowSceneDelegate, UIWindowScene, UIApplicationShortcutItem, Action<Boolean>)
SetWindow(IUIWindowSceneDelegate, UIWindow)
UserDidAcceptCloudKitShare(IUIWindowSceneDelegate, UIWindowScene, CKShareMetadata)

Applies to