Table of Contents

Interface IScreenAnimator

Namespace
MackySoft.Navigathena
Assembly
MackySoft.Navigathena.dll

Animates one screen; it does not control its activity, history, or lifetime.

public interface IScreenAnimator

Remarks

The runtime checks cancellation before and after playback. Completion includes stopping every animation writer, also on failure or cancellation. Implementations forward cancellation to ongoing work; they never change input or resource ownership.

Methods

PlayAsync(ScreenAnimation, CancellationToken)

ValueTask PlayAsync(ScreenAnimation animation, CancellationToken cancellationToken)

Parameters

animation ScreenAnimation
cancellationToken CancellationToken

Returns

ValueTask

SetStateImmediately(ScreenAnimationState)

void SetStateImmediately(ScreenAnimationState state)

Parameters

state ScreenAnimationState