ButtonNameButtonPressModeStringModuleTypeButtonPressButtonPressButtonPressButtonPressButtonNameGet the ButtonName
Kind: Instance method of ButtonPress
Returns: ButtonName - the KEY_BUTTON_NAME value
ButtonPressModeGet the ButtonPressMode
Kind: Instance method of ButtonPress
Returns: ButtonPressMode - the KEY_BUTTON_PRESS_MODE value
StringGet the ModuleId
Kind: Instance method of ButtonPress
Returns: String - the KEY_MODULE_ID value
ModuleTypeGet the ModuleType
Kind: Instance method of ButtonPress
Returns: ModuleType - the KEY_MODULE_TYPE value
ButtonPressSet 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. |
ButtonPressSet 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. |
ButtonPressSet 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} |