Boolean
ModuleInfo
ButtonName
Boolean
Boolean
ButtonCapabilities
ButtonCapabilities
ButtonCapabilities
ButtonCapabilities
ButtonCapabilities
Boolean
Get the LongPressAvailable
Kind: Instance method of ButtonCapabilities
Returns: Boolean
- the KEY_LONG_PRESS_AVAILABLE value
ModuleInfo
Get the ModuleInfo
Kind: Instance method of ButtonCapabilities
Returns: ModuleInfo
- the KEY_MODULE_INFO value
ButtonName
Get the NameParam
Kind: Instance method of ButtonCapabilities
Returns: ButtonName
- the KEY_NAME value
Boolean
Get the ShortPressAvailable
Kind: Instance method of ButtonCapabilities
Returns: Boolean
- the KEY_SHORT_PRESS_AVAILABLE value
Boolean
Get the UpDownAvailable
Kind: Instance method of ButtonCapabilities
Returns: Boolean
- the KEY_UP_DOWN_AVAILABLE value
ButtonCapabilities
Set 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. |
ButtonCapabilities
Set 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. |
ButtonCapabilities
Set 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. |
ButtonCapabilities
Set 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. |
ButtonCapabilities
Set 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. |