ICanvasControllerTransitioningAnimatorVendor

public interface ICanvasControllerTransitioningAnimatorVendor;

Description

The ICanvasControllerTransitioningAnimatorVendor interface defines the methods required to supply transition animators to a transitioning canvas controller.

When a canvas controller is about to be presented or dismissed, it will ask its CanvasController.transitioningAnimatorVendor for an animator to animate the transition. The vendor returns an ICanvasControllerTransitioningAnimator object that will be used to animate the transition. Different animators may be returned depending on the values of the CanvasControllerTransitionContext parameter. The vendor may return null to have the transition be animated by the default animator.

See also:

ICanvasControllerTransitioningAnimator

CanvasControllerTransitionContext

Properties
None
Methods
TransitioningAnimatorForContext Return the transition animator that will be used to animate the transition. You may return null to have the transition be animated by the default animator.

TransitioningAnimatorForContext

ICanvasControllerTransitioningAnimator TransitioningAnimatorForContext( CanvasControllerTransitionContext transitionContext);

Parameters

Name Description
transitionContext The transition's context, which provides information about the transition such as the canvas controllers involved.

Description

Return the transition animator that will be used to animate the transition. You may return null to have the transition be animated by the default animator.