ImageBooleanNumberSystemActionStringSoftButtonTypeSoftButtonSoftButtonSoftButtonSoftButtonSoftButtonSoftButtonImageGet the Image
Kind: Instance method of SoftButton
Returns: Image - the KEY_IMAGE value
BooleanGet the IsHighlighted
Kind: Instance method of SoftButton
Returns: Boolean - the KEY_IS_HIGHLIGHTED value
NumberGet the SoftButtonID
Kind: Instance method of SoftButton
Returns: Number - the KEY_SOFT_BUTTON_ID value
SystemActionGet the SystemAction
Kind: Instance method of SoftButton
Returns: SystemAction - the KEY_SYSTEM_ACTION value
StringGet the Text
Kind: Instance method of SoftButton
Returns: String - the KEY_TEXT value
SoftButtonTypeGet the Type
Kind: Instance method of SoftButton
Returns: SoftButtonType - the KEY_TYPE value
SoftButtonSet the Image
Kind: Instance method of SoftButton
Returns: SoftButton - The class instance for method chaining.
| Param | Type | Description |
|---|---|---|
| image | Image |
Optional image struct for SoftButton (if defined as IMAGE or BOTH) - The desired Image. |
SoftButtonSet the IsHighlighted
Kind: Instance method of SoftButton
Returns: SoftButton - The class instance for method chaining.
| Param | Type | Description |
|---|---|---|
| highlighted | Boolean |
True, if highlighted False, if not highlighted - The desired IsHighlighted. {'default_value': False} |
SoftButtonSet the SoftButtonID
Kind: Instance method of SoftButton
Returns: SoftButton - The class instance for method chaining.
| Param | Type | Description |
|---|---|---|
| id | Number |
Value which is returned via OnButtonPress / OnButtonEvent - The desired SoftButtonID. {'num_min_value': 0, 'num_max_value': 65535} |
SoftButtonSet the SystemAction
Kind: Instance method of SoftButton
Returns: SoftButton - The class instance for method chaining.
| Param | Type | Description |
|---|---|---|
| action | SystemAction |
Parameter indicating whether selecting a SoftButton shall call a specific system action. This is intended to allow Notifications to bring the callee into full / focus; or in the case of persistent overlays, the overlay can persist when a SoftButton is pressed. - The desired SystemAction. {'default_value': 'DEFAULT_ACTION'} |
SoftButtonSet the Text
Kind: Instance method of SoftButton
Returns: SoftButton - The class instance for method chaining.
| Param | Type | Description |
|---|---|---|
| text | String |
Optional text to display (if defined as TEXT or BOTH) - The desired Text. {'string_min_length': 0, 'string_max_length': 500} |
SoftButtonSet the Type
Kind: Instance method of SoftButton
Returns: SoftButton - The class instance for method chaining.
| Param | Type | Description |
|---|---|---|
| type | SoftButtonType |
Describes, whether it is text, highlighted text, icon, or dynamic image. See softButtonType - The desired Type. |