BooleanModuleInfoButtonNameBooleanBooleanButtonCapabilitiesButtonCapabilitiesButtonCapabilitiesButtonCapabilitiesButtonCapabilitiesBooleanGet the LongPressAvailable
Kind: Instance method of ButtonCapabilities
Returns: Boolean - the KEY_LONG_PRESS_AVAILABLE value
ModuleInfoGet the ModuleInfo
Kind: Instance method of ButtonCapabilities
Returns: ModuleInfo - the KEY_MODULE_INFO value
ButtonNameGet the NameParam
Kind: Instance method of ButtonCapabilities
Returns: ButtonName - the KEY_NAME value
BooleanGet the ShortPressAvailable
Kind: Instance method of ButtonCapabilities
Returns: Boolean - the KEY_SHORT_PRESS_AVAILABLE value
BooleanGet the UpDownAvailable
Kind: Instance method of ButtonCapabilities
Returns: Boolean - the KEY_UP_DOWN_AVAILABLE value
ButtonCapabilitiesSet the LongPressAvailable
Kind: Instance method of ButtonCapabilities
Returns: ButtonCapabilities - The class instance for method chaining.
| Param | Type | Description |
|---|---|---|
| available | Boolean |
The button supports a LONG press. Whenever the button is pressed long, onButtonPressed( LONG) will be invoked. - The desired LongPressAvailable. |
ButtonCapabilitiesSet the ModuleInfo
Kind: Instance method of ButtonCapabilities
Returns: ButtonCapabilities - The class instance for method chaining.
| Param | Type | Description |
|---|---|---|
| info | ModuleInfo |
Information about an RC module, including its id. - The desired ModuleInfo. |
ButtonCapabilitiesSet the NameParam
Kind: Instance method of ButtonCapabilities
Returns: ButtonCapabilities - The class instance for method chaining.
| Param | Type | Description |
|---|---|---|
| name | ButtonName |
The name of the button. See ButtonName. - The desired NameParam. |
ButtonCapabilitiesSet the ShortPressAvailable
Kind: Instance method of ButtonCapabilities
Returns: ButtonCapabilities - The class instance for method chaining.
| Param | Type | Description |
|---|---|---|
| available | Boolean |
The button supports a short press. Whenever the button is pressed short, onButtonPressed( SHORT) will be invoked. - The desired ShortPressAvailable. |
ButtonCapabilitiesSet the UpDownAvailable
Kind: Instance method of ButtonCapabilities
Returns: ButtonCapabilities - The class instance for method chaining.
| Param | Type | Description |
|---|---|---|
| available | Boolean |
The button supports "button down" and "button up". Whenever the button is pressed, onButtonEvent( DOWN) will be invoked. Whenever the button is released, onButtonEvent( UP) will be invoked. - The desired UpDownAvailable. |