Runic.Platform

Version 0.23.0, target framework net10.0. Read from the published package.

Runic.Platform

ApplicationInstanceClaim record

The outcome of claiming the application's single instance.

ApplicationInstanceClaim.Forwarded record

Another process is the running instance and received this launch.

ApplicationInstanceClaim.NotRunning record

No instance runs, and this process did not become one, because it claimed with ForwardOnly.

ApplicationInstanceClaim.Primary record

This process is the running instance.

ApplicationLaunch record

One launch of the application: its arguments, working directory and desktop activation data.

ApplicationPlatformServices class

Application platform services for hosts that cannot provide them.

CapabilitySnapshot record

An immutable capability view; availability may change after capture.

CapabilityStatus record

One capability's current availability.

CapabilityStatus.Available record

The capability is currently available.

CapabilityStatus.Unavailable record

The capability is currently unavailable.

DesktopAccentColor record

An sRGB colour with components in [0,1].

DesktopActivationContext class

Opaque, short-lived focus authorization supplied by the desktop.

DesktopAppearance record

Unknown optional preferences remain null rather than becoming false.

DesktopApplicationInfo record

An installed application that can open content.

DesktopApplications class

The desktop application database for hosts and platforms that cannot provide it.

DesktopBadge record

A badge on the window's taskbar button or the application's Dock icon: a count, or a dot that asks for attention.

DesktopClipboardContent record

What one IDesktopClipboard.WriteAsync puts on the clipboard: every format set here, offered together.

DesktopClipboardFormats enum

The formats on the clipboard, or in a DesktopClipboardContent.

DesktopColorScheme enum

The desktop's preference; an application override takes precedence.

DesktopContentDetection enum

How IDesktopApplications.GetContentTypeAsync determines a file's type.

DesktopContentType record

A content type the desktop knows, such as a MIME type, with its description and relations.

DesktopContextMenuOptions record

Where a context menu opens, for IWindowPlatformServices.ShowContextMenuAsync.

DesktopContrast enum

The desktop's contrast preference, as CSS prefers-contrast and forced-colors describe it.

DesktopDragData record

The data of a drag out of a window, for IWindowPlatformServices.StartDragAsync.

DesktopDragEffects enum

What a drag and drop does with the dragged files: the effects a drag source allows and the one a drop performed.

DesktopFileOperation enum

Local-file handoff operations; asking for an application is distinct from opening the default.

DesktopFileTransfers class

File transfers for hosts and platforms that cannot provide them.

DesktopFileType record

A file type the application opens, which IDesktopOpenRegistration registers.

DesktopGlobalShortcut record

A named action that the user can start with a key while the application is in the background.

DesktopGlobalShortcutActivation record

A key press of a bound global shortcut.

DesktopGlobalShortcutBinding record

The outcome of binding one DesktopGlobalShortcut.

DesktopGlobalShortcuts class

Global shortcuts for hosts and platforms that cannot provide them.

DesktopGlobalShortcutsChange record

The bindings after the user or the desktop changed them.

DesktopGlobalShortcutStatus enum

Whether a global shortcut is bound, as DesktopGlobalShortcutBinding.Status reports.

DesktopIcon record

An icon from the desktop's icon theme, with images for desktops that lack it.

DesktopIconData record

The image data of an icon.

DesktopIconImage record

Straight-alpha RGBA pixels in rows from the top, four bytes per pixel.

DesktopIconRequest record

The icon to look up: by icon name, for an application, or for a content type, at a size and scale.

DesktopInhibition class

Creates idle-power inhibition for a host or platform without a provider.

DesktopInhibitionEffects enum

Idle power transitions an explicit operation may ask the desktop to inhibit.

DesktopLanguages class

The languages the user prefers, as the operating system lists them, for choosing the application's locale.

DesktopLayoutDirection enum

The direction native window parts and menus lay out in.

DesktopLoginStartup class

Login startup for hosts and platforms that cannot provide it.

DesktopMenu record

A menu of the menu bar, or a submenu of any menu.

DesktopMenuEntry record

An entry of a menu: a DesktopMenuItem, a DesktopMenuSeparator or a submenu.

DesktopMenuItem record

A menu item that runs a command.

DesktopMenuRole enum

Where a DesktopMenu goes in the menu bar.

DesktopMenuSeparator record

A line between groups of menu entries.

DesktopMessageBox record

A native message box: a short message, optional detail and the buttons that answer it.

DesktopMessageBoxButton record

A button of a DesktopMessageBox.

DesktopMessageBoxButtonRole enum

The role of a DesktopMessageBoxButton.

DesktopMessageBoxes class

Message boxes for hosts that cannot show them.

DesktopMessageBoxKind enum

The icon and alert level of a DesktopMessageBox.

DesktopMonitor record

One monitor (a screen or display) of the desktop.

DesktopMonitors class

Monitors for hosts and platforms that cannot list them.

DesktopNetworkConnectivity enum

How far a network connection reaches.

DesktopNetworkState record

What the operating system knows about the computer's network connection.

DesktopNetworkStatus class

Network status for hosts and platforms without a provider.

DesktopNotification record

Reusing Id replaces a notification.

DesktopNotificationAction record

A notification button.

DesktopNotificationActivation record

A user action on a notification.

DesktopNotifications class

Desktop notifications for hosts and platforms that cannot provide them.

DesktopOpenOptions record

The URL schemes and files the application registered with the desktop.

DesktopOpenRegistration record

The URL schemes and file types an application registers with the desktop, for the current user.

DesktopOpenRegistrations class

Open registration for hosts and platforms that cannot provide it.

DesktopOpenRequest record

Files and URLs the desktop asked the application to open, in the order it gave them.

DesktopOpenRequests class

Open requests for hosts and platforms that cannot provide them, and the parser for launch arguments.

DesktopPlatformTexts record

The text that Runic itself shows in native UI where the platform has no translated text of its own, such as the suggested name of a save dialog or the error pages of a browser window.

DesktopPowerEvent record

A power or session event, with the state after it.

DesktopPowerEventKind enum

What happened to the computer's power or the user's session.

DesktopPowerEvents class

Power events for hosts and platforms without a provider.

DesktopPowerState record

The computer's power and session state, as far as the operating system tells it.

DesktopPrivilegedActions class

Privileged actions for hosts and platforms that cannot provide them.

DesktopProgress record

Progress shown on the window's taskbar button or the application's Dock icon.

DesktopProgressState enum

The state of the work that a DesktopProgress shows.

DesktopRecentDocuments class

Recent documents for hosts and platforms without a provider.

DesktopRect record struct

A rectangle in a platform's screen coordinates, which grow right and down from the primary monitor's top-left corner.

DesktopSecretStore class

Secret storage for hosts and platforms that cannot provide it.

DesktopSecretStoreOptions record

Store-wide choices for an IDesktopSecretStore.

DesktopServiceStatus class

Reads the status of application-scoped services.

DesktopSettings class

Desktop preferences for hosts and platforms that cannot provide them.

DesktopShortcut record struct

A keyboard shortcut: a key and its modifiers, written as Primary+Shift+S.

DesktopShortcutModifiers enum

Modifier keys of a DesktopShortcut.

DesktopStatusIcon class

Status icons for hosts and platforms that cannot provide them.

DesktopStatusIconActivation record

A user action on a status icon.

DesktopStatusIconActivationKind enum

How the user activated a status icon.

DesktopStatusIconState record

Everything a status icon shows.

DesktopStatusIconStatus enum

How much attention a status icon asks for.

DesktopSystemColors record

The palette of a desktop that forces its colours (DesktopContrast.ForcedColors), by the CSS system colour each entry corresponds to.

DesktopThumbnail record

A thumbnail: a PNG image and its size in pixels.

DesktopThumbnails class

Thumbnails for hosts and platforms that cannot provide them.

DesktopTrash class

The trash for hosts and platforms that cannot provide one.

DesktopTrashItem record

One item in the trash, as IDesktopTrash.ListAsync reports it.

DesktopTrashProgress record struct

The progress of IDesktopTrash.MoveAllToTrashAsync.

DesktopVolume record

One storage volume: a filesystem the desktop can mount, or a locked encrypted volume.

DesktopVolumeChange record

A change that IDesktopVolumes.WatchAsync reports.

DesktopVolumeChange.Added record

A volume appeared, such as when a drive was plugged in.

DesktopVolumeChange.Changed record

A volume changed, such as when it was mounted, unmounted or relabelled.

DesktopVolumeChange.Removed record

A volume disappeared.

DesktopVolumeChange.Snapshot record

Every volume when the watch starts, and again after the volume service comes back.

DesktopVolumeMountOptions record

How IDesktopVolumes.MountAsync mounts a volume.

DesktopVolumes class

Volumes for hosts and platforms without a provider.

DesktopVolumeUnlockMethod enum

How a locked volume can be unlocked.

FileCommitResult record

The observed outcome after an atomic replacement attempt.

FileCommitResult.Committed record

The replacement completed.

FileCommitResult.CommitUnknown record

The replacement may have occurred; inspect the destination before deciding what to do.

FileCommitResult.NotCommitted record

The replacement did not occur.

FileConflictAction enum

What to do about a conflict.

FileConflictHandler delegate

Decides one conflict of a file transfer.

FileConflictResolution record

The decision for one conflict, and optionally for every later one.

FileDialogFilter record

A named file type a file dialog offers, such as "Images" for png and jpg.

FileEntryInfo record

A file, directory or symbolic link in a conflict, for showing the user what would be replaced.

FileTransferConflict record

A source whose name an entry of the destination already has.

FileTransferProgress record

How far a file transfer is.

FileTransferRequest record

What to copy or move, and where.

FileTransferSummary record

What a completed transfer did.

FileWritePolicy enum

Required durability behavior for a save transaction.

IApplicationInstance interface

The running instance of an application, which receives the launches of later processes.

IApplicationLaunchReply interface

The running instance's side of a reply to a forwarded launch: messages to the launching process, then its exit status.

IApplicationPlatformServices interface

Native services of the application that need no window: opening URIs and files, revealing files, and message boxes.

IDesktopApplications interface

Content types, the installed applications that open them, the user's default application for each, and their icons: the desktop's application database.

IDesktopBookmarkAccess interface

Access to a bookmarked file, until disposed.

IDesktopClipboard interface

The window's clipboard with text, HTML, Rich Text Format, PNG images and file lists, and a watch of its formats.

IDesktopFileBookmarks interface

Keeps access to files across launches: a sandboxed macOS application keeps the files the user opened or chose, as a recent-files list needs.

IDesktopFileLauncher interface

Native file and URI handoff.

IDesktopFileTransfers interface

Copies and moves files and directories with progress, cancellation and a decision for each conflict, as a file manager does.

IDesktopGlobalShortcuts interface

The application's global shortcuts: keys that start named actions while another application has the focus.

IDesktopInhibition interface

Requests temporary idle-power inhibition; never enabled implicitly by application startup.

IDesktopInhibitionLease interface

An operation-owned native inhibition request.

IDesktopLoginStartup interface

Starting the application when the user logs in.

IDesktopMessageBoxes interface

Native message boxes owned by one window.

IDesktopMonitors interface

The desktop's monitors: listing them and following changes.

IDesktopNetworkStatus interface

The computer's network status: online, metered and captive portal, read once or watched.

IDesktopNotifications interface

Application-scoped native notifications with explicit authorization.

IDesktopOpenRegistration interface

Registers the application with the desktop for URL schemes and file types, for the current user.

IDesktopOpenRequests interface

Requests to open files and URLs, from this launch, later launches and, on macOS, the system's open events.

IDesktopPowerEvents interface

Sleep, wake, session lock and battery events of the computer.

IDesktopPrivilegedActions interface

Runs declared privileged actions with the platform's authorization.

IDesktopRecentDocuments interface

The application's recent documents, which the desktop lists for reopening: Open Recent and the Dock menu on macOS, the Jump List and Recent items on Windows, and the recent files of file choosers and file managers on Linux.

IDesktopSecretStore interface

Secrets, such as access tokens, kept by the user's credential store: the Secret Service on Linux, the Keychain on macOS and Credential Manager on Windows.

IDesktopServiceStatus interface

An application-scoped service (IDesktopSettings, IDesktopNotifications, IDesktopSecretStore and the other IDesktop… services) that reports whether it can be used at all.

IDesktopSettings interface

Application-scoped desktop preferences.

IDesktopStatusIcon interface

An application's icon in the desktop's status area, with or without an open window.

IDesktopThumbnails interface

Thumbnails of files as the desktop's file manager shows them: the freedesktop.org thumbnail cache on Linux, the shell's thumbnail providers on Windows and Quick Look on macOS.

IDesktopTrash interface

Moves files and directories to the user's trash: the freedesktop.org Trash on Linux, the Trash on macOS and the Recycle Bin on Windows, from where the user can restore them.

IDesktopVolumes interface

The desktop's storage volumes: listing, mounting, unmounting, ejecting and change notifications.

IDirectoryLease interface

Owns access to one local directory until disposed or its presentation closes.

IDirectoryLeaseList interface

The directory leases of one multiple selection, in the order the dialog returned them.

IDocumentFileLease interface

Owns read and write access to one document the user opened or saved: the application reads it, saves it back as often as it needs and keeps it in a recent-files list.

IFileDialogs interface

Presentation-scoped selection of file access.

IFileWriteTransaction interface

A single-consumption staged write.

IForwardedLaunchReply interface

The launching process's side of a reply to a forwarded launch: the running instance's messages, in order, then its exit status.

ILaunchableFileLease interface

An acquired file that can be handed to a native application without exposing its path.

IPlatformCapabilities interface

Reports capabilities without exposing native resources.

IReadFileLease interface

Owns acquired read access until disposed or its presentation closes.

IReadFileLeaseList interface

The read leases of one multiple selection, in the order the dialog returned them.

ISaveFileLease interface

Owns an acquired save destination and its access grant.

ITextClipboard interface

Presentation-scoped Unicode text clipboard operations.

IWindowPlatformServices interface

Native services owned by one application window.

LoginStartupRequest record

What to start when the user logs in.

OpenDirectoryOptions record

Options for selecting existing local directories.

OpenFileOptions record

Options for selecting existing files.

OwnerPolicy enum

Ownership requirements for native dialogs and message boxes.

PickerResult<T> record

A dialog outcome.

PickerResult<T>.Dismissed record

The user dismissed the dialog without selecting a resource.

PickerResult<T>.Failed record

The dialog or acquisition failed.

PickerResult<T>.Selected record

The user selected a resource whose access must be disposed.

PickerResult<T>.Unavailable record

The dialog could not be shown.

PlatformAnnouncementPriority enum

How a screen-reader announcement relates to what the screen reader is saying, as ARIA live regions do.

PlatformCapabilityIds class

The capability identifiers of a window's platform services, the keys of CapabilitySnapshot.Statuses.

PlatformDiagnostic record

Native error detail attached to a failure for logs and support.

PlatformFailureCode enum

A classified operational failure, without exposing paths or native handles.

PlatformResult<T> record

A service outcome.

PlatformResult<T>.Failed record

The operation failed.

PlatformResult<T>.Success record

The operation succeeded.

PlatformResult<T>.Unavailable record

The service was unavailable.

PlatformUnavailableReason enum

Why a capability cannot currently be used.

PlatformUnit record struct

The successful result of an operation without a return value.

PrivilegedActionCommand class

A command of a PrivilegedActionDeclaration: the first argument after the verb, and a pattern for each argument that may follow it.

PrivilegedActionCompletion record

The authorized program ran and exited.

PrivilegedActionDeclaration class

A privileged step the application declared at build time: a fixed program, run as the administrator with the platform's authorization, and the arguments it accepts.

PrivilegedActionOutput record struct

A line of output without its line terminator.

PrivilegedActionRequest record

One run of a declared privileged action.

PrivilegedOutputChannel enum

The output stream a line came from.

SaveFileOptions record

Options for selecting one save destination.

WindowPlatformServices class

Window platform services for hosts that cannot provide them.