Volume Control
Application-specific hotkeys for Windows
VolumeControl.Core.Input.Json.JsonActionSettingValue Struct Reference

JSON container for toggleable action settings. More...

Collaboration diagram for VolumeControl.Core.Input.Json.JsonActionSettingValue:

Properties

bool? Enabled [get, set]
 Gets or sets whether the action setting value can be toggled on/off, and if it can, whether it is enabled or disabled. More...
 
object? Value [get, set]
 Gets or sets the value of the action setting. More...
 

Detailed Description

JSON container for toggleable action settings.

This object is only serialized directly to JSON when IActionSettingInstance.IsToggleable is true; otherwise, only the Value is written instead.

Property Documentation

◆ Enabled

bool? VolumeControl.Core.Input.Json.JsonActionSettingValue.Enabled
getset

Gets or sets whether the action setting value can be toggled on/off, and if it can, whether it is enabled or disabled.

Returns
null when not toggleable; true when toggleable and enabled; false when toggleable and disabled.

◆ Value

object? VolumeControl.Core.Input.Json.JsonActionSettingValue.Value
getset

Gets or sets the value of the action setting.


The documentation for this struct was generated from the following file: