BooleanBooleanBooleanBooleanBooleanSoftButtonCapabilitiesSoftButtonCapabilitiesSoftButtonCapabilitiesSoftButtonCapabilitiesSoftButtonCapabilitiesInitializes an instance of SoftButtonCapabilities.
BooleanGet the ImageSupported
Kind: Instance method of SoftButtonCapabilities
Returns: Boolean - the KEY_IMAGE_SUPPORTED value
BooleanGet the LongPressAvailable
Kind: Instance method of SoftButtonCapabilities
Returns: Boolean - the KEY_LONG_PRESS_AVAILABLE value
BooleanGet the ShortPressAvailable
Kind: Instance method of SoftButtonCapabilities
Returns: Boolean - the KEY_SHORT_PRESS_AVAILABLE value
BooleanGet the TextSupported
Kind: Instance method of SoftButtonCapabilities
Returns: Boolean - the KEY_TEXT_SUPPORTED value
BooleanGet the UpDownAvailable
Kind: Instance method of SoftButtonCapabilities
Returns: Boolean - the KEY_UP_DOWN_AVAILABLE value
SoftButtonCapabilitiesSet the ImageSupported
Kind: Instance method of SoftButtonCapabilities
Returns: SoftButtonCapabilities - The class instance for method chaining.
| Param | Type | Description |
|---|---|---|
| supported | Boolean |
The button supports referencing a static or dynamic image. - The desired ImageSupported. |
SoftButtonCapabilitiesSet the LongPressAvailable
Kind: Instance method of SoftButtonCapabilities
Returns: SoftButtonCapabilities - 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. |
SoftButtonCapabilitiesSet the ShortPressAvailable
Kind: Instance method of SoftButtonCapabilities
Returns: SoftButtonCapabilities - 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. |
SoftButtonCapabilitiesSet the TextSupported
Kind: Instance method of SoftButtonCapabilities
Returns: SoftButtonCapabilities - The class instance for method chaining.
| Param | Type | Description |
|---|---|---|
| supported | Boolean |
The button supports the use of text. If not included, the default value should be considered true that the button will support text. - The desired TextSupported. |
SoftButtonCapabilitiesSet the UpDownAvailable
Kind: Instance method of SoftButtonCapabilities
Returns: SoftButtonCapabilities - 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. |