INativeWindowOwner interface

Namespace Runic.Platform.Runtime in Runic.Platform.Runtime 0.23.0

public interface INativeWindowOwner

A verified presentation owner. Native handles stay in C# and are usable only during dispatch.

Properties

Generation

Guid Generation { get; }

The verified presentation generation, shared with its lifetime.

IsAvailable

bool IsAvailable { get; }

Whether the provider can currently show dialogs.

Methods

InvokeAsync

ValueTask InvokeAsync(Action<nint> action, CancellationToken cancellationToken = default)

Revalidates owner identity and dispatches on its native thread. The handle cannot escape the callback.