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.
SupportsMultipleSelection
bool SupportsMultipleSelection { get; } Whether INativeFilePicker.SelectAsync implements multiple selection.
Methods
SelectAsync
ValueTask<IReadOnlyList<NativeFileSelection>?> SelectAsync(NativeFileDialogRequest request, CancellationToken cancellationToken) Shows one owned dialog for request; null or an empty list means dismissal.
Remarks
Cancellation must release acquired access. A picker that returns more than one selection must also return true from INativeFilePicker.SupportsMultipleSelection; one that cannot show a dialog throws NativeBackendUnavailableException.