DesktopGlobalShortcutActivation record

Namespace Runic.Platform in Runic.Platform 0.23.0

public sealed record DesktopGlobalShortcutActivation : IEquatable<DesktopGlobalShortcutActivation>

Inherits or implements IEquatable.

A key press of a bound global shortcut. Treat it as untrusted input at the application boundary.

Parameters

Id

The action's DesktopGlobalShortcut.Id.

Constructors

DesktopGlobalShortcutActivation

public DesktopGlobalShortcutActivation(string Id)

A key press of a bound global shortcut. Treat it as untrusted input at the application boundary.

Parameters

Id

The action's DesktopGlobalShortcut.Id.

Properties

Id

public string Id { get; init; }

PlatformContext

public DesktopActivationContext? PlatformContext { get; init; }

Short-lived desktop activation data for raising a window. Dispatch promptly; do not persist it.

Remarks

Linux passes the activation token the portal sends; Windows and macOS pass none.