ButtonName
ButtonPressMode
String
ModuleType
ButtonPress
ButtonPress
ButtonPress
ButtonPress
ButtonName
Get the ButtonName
Kind: Instance method of ButtonPress
Returns: ButtonName
- the KEY_BUTTON_NAME value
ButtonPressMode
Get the ButtonPressMode
Kind: Instance method of ButtonPress
Returns: ButtonPressMode
- the KEY_BUTTON_PRESS_MODE value
String
Get the ModuleId
Kind: Instance method of ButtonPress
Returns: String
- the KEY_MODULE_ID value
ModuleType
Get the ModuleType
Kind: Instance method of ButtonPress
Returns: ModuleType
- the KEY_MODULE_TYPE value
ButtonPress
Set the ButtonName
Kind: Instance method of ButtonPress
Returns: ButtonPress
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
name | ButtonName |
The name of the supported RC button. - The desired ButtonName. |
ButtonPress
Set the ButtonPressMode
Kind: Instance method of ButtonPress
Returns: ButtonPress
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
mode | ButtonPressMode |
Indicates whether this is a LONG or SHORT button press event. - The desired ButtonPressMode. |
ButtonPress
Set the ModuleId
Kind: Instance method of ButtonPress
Returns: ButtonPress
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
id | String |
Id of a module in the published ButtonCapabilities - The desired ModuleId. {'string_min_length': 1, 'string_max_length': 100} |