Properties

Methods

Properties

canControl: boolean

Gets whether the brightness can be controlled on this system.

value: number

Gets or sets the current brightness value.

Methods

  • Registers a callback which will be called when the brightness value changes.

    Returns

    An event subscription which can be used to unsubscribe from the event.

    Parameters

    • callback: ((value: number) => void)

      The callback which will be called with the new brightness value.

        • (value: number): void
        • Parameters

          • value: number

          Returns void

    Returns EventSubscription

  • Resets the brightness to the default value.

    Returns void

Generated using TypeDoc