Runic.Platform
CapabilitySnapshotrecordAn immutable capability view; availability may change after capture.
CapabilityStatusrecordOne capability's current availability.
CapabilityStatus.AvailablerecordThe capability is currently available.
The capability is currently unavailable.
DesktopAccentColorrecordAn sRGB colour with components in [0,1].
DesktopActivationContextclassOpaque, short-lived focus authorization supplied by the desktop.
DesktopAppearancerecordUnknown optional preferences remain null rather than becoming false.
DesktopColorSchemeenumThe desktop's preference; an application override takes precedence.
DesktopFileOperationenumLocal-file handoff operations; asking for an application is distinct from opening the default.
DesktopInhibitionEffectsenumIdle power transitions an explicit operation may ask the desktop to inhibit.
DesktopNotificationrecordReusing Id replaces a notification. Submission does not guarantee display.
DesktopNotificationActionrecordA notification button. IDs are application-owned routing keys, never commands.
DesktopNotificationActivationrecordA user action on a notification. Treat activation as untrusted input at the application boundary.
FileCommitResultrecordThe observed outcome after an atomic replacement attempt. An uncertain commit must not be retried automatically.
FileCommitResult.CommittedrecordThe replacement completed.
FileCommitResult.CommitUnknownrecordThe replacement may have occurred; inspect the destination before deciding what to do.
FileCommitResult.NotCommittedrecordThe replacement did not occur.
FileWritePolicyenumRequired durability behavior for a save transaction.
IDesktopFileLauncherinterfaceNative file handoff. Paths are supplied by trusted C# application code, never directly by a web client.
IDesktopInhibitioninterfaceRequests temporary idle-power inhibition; never enabled implicitly by application startup.
IDesktopInhibitionLeaseinterfaceAn operation-owned native inhibition request. Dispose as soon as the operation ends.
IDesktopNotificationsinterfaceApplication-scoped native notifications with explicit authorization.
IDesktopSettingsinterfaceApplication-scoped desktop preferences. Dispose to stop observation.
IFileDialogsinterfacePresentation-scoped selection of file access. Leases, streams and native access remain in C#.
IFileWriteTransactioninterfaceA single-consumption staged write. Disposal removes uncommitted staging data.
ILaunchableFileLeaseinterfaceAn acquired file that can be handed to a native application without exposing its path.
IPlatformCapabilitiesinterfaceReports capabilities without exposing native resources.
IReadFileLeaseinterfaceOwns acquired read access until disposed or its presentation closes.
ISaveFileLeaseinterfaceOwns an acquired save destination and its access grant.
ITextClipboardinterfacePresentation-scoped Unicode text clipboard operations.
IUiDispatcherinterfaceDispatches synchronous actions on the presentation's UI thread.
OpenFileOptionsrecordOptions for selecting one existing file.
OwnerPolicyenumOwnership requirements for native dialogs. This preview supports owned dialogs only.
PickerResult<T>recordA dialog outcome. User dismissal is distinct from cancellation, unavailability and failure.
PickerResult<T>.DismissedrecordThe user dismissed the dialog without selecting a resource.
PickerResult<T>.FailedrecordThe dialog or acquisition failed.
PickerResult<T>.SelectedrecordThe user selected a resource whose access must be disposed.
The dialog could not be shown.
PlatformDiagnosticrecordNative error detail attached to a failure for logs and support. It is not intended for display and may be localized by the operating system. Messages come only from operating-system error tables or fixed provider text; free-form text from native services (GError and D-Bus messages, NSError descriptions) is omitted, so a diagnostic contains no paths, file contents or native handles.
PlatformFailureCodeenumA classified operational failure, without exposing paths or native handles.
PlatformResult<T>recordA service outcome. Cancellation is represented by an OperationCanceledException.
PlatformResult<T>.FailedrecordThe operation failed.
PlatformResult<T>.SuccessrecordThe operation succeeded.
The service was unavailable.
Why a capability cannot currently be used.
PlatformUnitrecord structThe successful result of an operation without a return value.
SaveFileOptionsrecordOptions for selecting one save destination.