Options
All
  • Public
  • Public/Protected
  • All
Menu

Class HotkeySystemRef

With a Hotkey System the runner can use hotkeys on their keyboard to control the Timer. The hotkeys are global, so the application doesn't need to be in focus. The behavior of the hotkeys depends on the platform and is stubbed out on platforms that don't support hotkeys. You can turn off a Hotkey System temporarily. By default the Hotkey System is activated.

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

  • This constructor is an implementation detail. Do not use this.

    Parameters

    • ptr: number

    Returns HotkeySystemRef

Properties

ptr

ptr: number

Methods

activate

  • activate(): void
  • Activates a previously deactivated Hotkey System. If it's already active, nothing happens.

    Returns void

deactivate

  • deactivate(): void
  • Deactivates the Hotkey System. No hotkeys will go through until it gets activated again. If it's already deactivated, nothing happens.

    Returns void

Generated using TypeDoc