Class KodiGUINamespace

Constructors

Methods

  • Activates the currently used screensaver.

    Returns Promise<string>

    A promise resolving to a string, typically empty on success.

  • Activates the given window.

    Parameters

    • window: Window

      The window to activate.

    • parameters: string[]

      Parameters to pass to the window.

    Returns Promise<string>

    A promise resolving to a string, typically empty on success.

  • Sets the fullscreen state of the GUI.

    Parameters

    • fullscreen: boolean

      The fullscreen state to set.

    Returns Promise<boolean>

    A promise resolving to the new fullscreen state.

  • Sets the stereoscopic mode of the GUI.

    Parameters

    Returns Promise<string>

    A promise resolving to a string, typically empty on success.

  • Shows a notification on the GUI.

    Parameters

    • title: string

      The title of the notification.

    • message: string

      The message content of the notification.

    • image: string = "info"

      The image type or URL for the notification.

    • displaytime: number = 5000

      Time in milliseconds the notification will be visible.

    Returns Promise<string>

    A promise resolving to a string, typically empty on success.