Table of Contents

Interface IBlockerPresenter

Namespace
MackySoft.Navigathena
Assembly
MackySoft.Navigathena.dll

Provides custom blocker content. The runtime owns preparation, connection and termination.

public interface IBlockerPresenter

Remarks

The runtime checks cancellation immediately before and after PrepareAsync. Implementations forward the token to ongoing work without duplicating the entry check. TerminateAsync is awaited even after cancellation. Shown registered views intercept pointers independently of the associated screen's operation qualification; the supplied navigation follows its foreground period.

Methods

PrepareAsync(BlockerPreparationContext, CancellationToken)

ValueTask PrepareAsync(BlockerPreparationContext preparation, CancellationToken cancellationToken)

Parameters

preparation BlockerPreparationContext
cancellationToken CancellationToken

Returns

ValueTask

SetScreenContext(BlockerScreenContext?)

void SetScreenContext(BlockerScreenContext? context)

Parameters

context BlockerScreenContext

TerminateAsync()

ValueTask TerminateAsync()

Returns

ValueTask