INativePickerOwner interface

Namespace Runic.Platform.Runtime · Runic.Platform.Runtime 0.7.0-preview.5

public interface INativePickerOwner

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.