Edit

Bagikan melalui


IUIStateRestoring Interface

Definition

Interface representing the required methods (if any) of the protocol UIStateRestoring.

[Foundation.Protocol(Name="UIStateRestoring", WrapperType=typeof(UIKit.UIStateRestoringWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IUIStateRestoring : IDisposable, ObjCRuntime.INativeObject
type IUIStateRestoring = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

This interface contains the required methods (if any) from the protocol defined by UIStateRestoring.

If developers create classes that implement this interface, the implementation methods will automatically be exported to Objective-C with the matching signature from the method defined in the UIStateRestoring protocol.

Optional methods (if any) are provided by the UIStateRestoring_Extensions class as extension methods to the interface, allowing developers to invoke any optional methods on the protocol.

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Extension Methods

ApplicationFinishedRestoringState(IUIStateRestoring)

Indicates that the application has finished restoring state.

DecodeRestorableState(IUIStateRestoring, NSCoder)

Decodes and restores state.

EncodeRestorableState(IUIStateRestoring, NSCoder)

Encodes state-related information.

GetObjectRestorationClass(IUIStateRestoring)

Gets the class that recreates the restored object.

GetRestorationParent(IUIStateRestoring)

Gets the parent of the object to restore.

Applies to