Interface IBlockerAnimator
- Namespace
- MackySoft.Navigathena
- Assembly
- MackySoft.Navigathena.dll
Animates blocker decoration without controlling view permissions or navigation.
public interface IBlockerAnimator
Remarks
The runtime checks cancellation immediately before and after asynchronous animation. Implementations forward the token to ongoing work without duplicating the entry check. Superseded animation is awaited before releasing resources, but must not overwrite the replacement appearance.
Methods
PlayEnterAsync(CancellationToken)
ValueTask PlayEnterAsync(CancellationToken cancellationToken)
Parameters
cancellationTokenCancellationToken
Returns
PlayExitAsync(CancellationToken)
ValueTask PlayExitAsync(CancellationToken cancellationToken)
Parameters
cancellationTokenCancellationToken
Returns
SetAppearanceImmediately(bool)
Invalidates prior animation writes synchronously and sets its final appearance.
void SetAppearanceImmediately(bool shown)
Parameters
shownbool