Class KodiSettingsNamespace

Constructors

Methods

  • Resets the value of a specific setting to its default.

    Parameters

    • setting: string

      The name of the setting to reset.

    Returns Promise<string>

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

  • Changes the value of a setting.

    Parameters

    • setting: string

      The name of the setting to change.

    • value: SettingValue

      The new value for the setting.

    Returns Promise<boolean>

    A promise resolving to a boolean indicating success.

  • Changes the value of the specified skin setting.

    Parameters

    • setting: string

      The name of the skin setting to change.

    • value: SkinSettingValue

      The new value for the skin setting.

    Returns Promise<boolean>

    A promise resolving to a boolean indicating success.