D253Attribute

Defines the known attributes (aka. parameters or settings) of the monitor.

Attributes can be used in two ways:

  • the value can be sent as a standalone command instead of a D253RequestCommand in order to SET the value, or

  • the value can be used as the payload for a SET_PARAMETER command in order to GET the value of that attribute.

This dual-purpose nature of the values is why they are named differently than the commands and parameters, and why they're separated into their own class.

Parameters

value

Hex string value which identifies the given attribute. This is a value known to the monitor and cannot be changed.

range

Range of valid values for the attribute to be set to, or -1 if the value doesn't have a defined range

See also

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val range: IntRange
Link copied to clipboard
open override val value: String

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.