INativeFilePicker interface

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

public interface INativeFilePicker

A statically selected native picker which returns acquired access.

Properties

SupportsAtomicReplace

bool SupportsAtomicReplace { get; }

Whether this environment's save selections permit sibling staging and replacement.

Methods

SelectAsync

ValueTask<NativeFileSelection?> SelectAsync(bool save, string? suggestedName, CancellationToken cancellationToken)

Shows one owned dialog; null means dismissal. Cancellation must release acquired access.