bosesoundtouchapi.models.keystates

@export
class KeyStates(enum.Enum):

Key States enumeration.

Both = <KeyStates.Both: 'both'>

Indicates a key is to be pressed and released.

Press = <KeyStates.Press: 'press'>

Indicates a key is to be pressed.

Release = <KeyStates.Release: 'release'>

Indicates a key is to be released.

@staticmethod
def ToString(value) -> str:

Returns the enum.value (instead of classname.value) as a string.