Share via


ICAAnimationDelegate Interface

Definition

Delegate for responding to animation lifecycle events.

[Foundation.Protocol(FormalSince="10.0", Name="CAAnimationDelegate", WrapperType=typeof(CoreAnimation.CAAnimationDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="AnimationStarted", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(CoreAnimation.CAAnimation) }, Selector="animationDidStart:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="AnimationStopped", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CoreAnimation.CAAnimation), typeof(System.Boolean) }, Selector="animationDidStop:finished:")]
public interface ICAAnimationDelegate : IDisposable, ObjCRuntime.INativeObject
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="AnimationStarted", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(CoreAnimation.CAAnimation) }, Selector="animationDidStart:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="AnimationStopped", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CoreAnimation.CAAnimation), typeof(System.Boolean) }, Selector="animationDidStop:finished:")]
[Foundation.Protocol(FormalSince="10.12", Name="CAAnimationDelegate", WrapperType=typeof(CoreAnimation.CAAnimationDelegateWrapper))]
public interface ICAAnimationDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(FormalSince="10.0", Name="CAAnimationDelegate", WrapperType=typeof(CoreAnimation.CAAnimationDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="AnimationStarted", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(CoreAnimation.CAAnimation) }, Selector="animationDidStart:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="AnimationStopped", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CoreAnimation.CAAnimation), typeof(System.Boolean) }, Selector="animationDidStop:finished:")>]
type ICAAnimationDelegate = interface
    interface INativeObject
    interface IDisposable
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="AnimationStarted", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(CoreAnimation.CAAnimation) }, Selector="animationDidStart:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="AnimationStopped", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(CoreAnimation.CAAnimation), typeof(System.Boolean) }, Selector="animationDidStop:finished:")>]
[<Foundation.Protocol(FormalSince="10.12", Name="CAAnimationDelegate", WrapperType=typeof(CoreAnimation.CAAnimationDelegateWrapper))>]
type ICAAnimationDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Properties

Name Description
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

Name Description
AnimationStarted(CAAnimation)

The animation has started.

AnimationStopped(CAAnimation, Boolean)

The animation has stopped. Use the bool value to determine if this is a temporary pause, or the end of the animation.

Extension Methods

Name Description
AnimationStarted(ICAAnimationDelegate, CAAnimation)

The animation has started.

AnimationStopped(ICAAnimationDelegate, CAAnimation, Boolean)

The animation has stopped. Use the bool value to determine if this is a temporary pause, or the end of the animation.

GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to