iOS Guides | Samples

UIKit.IUIStateRestoring

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

See Also: IUIStateRestoring

Syntax

[Foundation.Protocol(Name="UIStateRestoring", WrapperType=typeof(UIKit.UIStateRestoringWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="EncodeRestorableState", ParameterByRef=Mono.Cecil.CustomAttributeArgument[], ParameterType=Mono.Cecil.CustomAttributeArgument[], Selector="encodeRestorableStateWithCoder:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DecodeRestorableState", ParameterByRef=Mono.Cecil.CustomAttributeArgument[], ParameterType=Mono.Cecil.CustomAttributeArgument[], Selector="decodeRestorableStateWithCoder:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="ApplicationFinishedRestoringState", Selector="applicationFinishedRestoringState")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="restorationParent", IsProperty=true, IsRequired=false, IsStatic=false, Name="RestorationParent", PropertyType=typeof(UIKit.IUIStateRestoring), Selector="restorationParent")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="objectRestorationClass", IsProperty=true, IsRequired=false, IsStatic=false, Name="ObjectRestorationClass", PropertyType=typeof(ObjCRuntime.Class), Selector="objectRestorationClass")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.None, null)]
public interface IUIStateRestoring : INativeObject, IDisposable

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.

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0

The members of UIKit.IUIStateRestoring are listed below.