Image
Boolean
Number
SystemAction
String
SoftButtonType
SoftButton
SoftButton
SoftButton
SoftButton
SoftButton
SoftButton
Image
Get the Image
Kind: Instance method of SoftButton
Returns: Image
- the KEY_IMAGE value
Boolean
Get the IsHighlighted
Kind: Instance method of SoftButton
Returns: Boolean
- the KEY_IS_HIGHLIGHTED value
Number
Get the SoftButtonID
Kind: Instance method of SoftButton
Returns: Number
- the KEY_SOFT_BUTTON_ID value
SystemAction
Get the SystemAction
Kind: Instance method of SoftButton
Returns: SystemAction
- the KEY_SYSTEM_ACTION value
String
Get the Text
Kind: Instance method of SoftButton
Returns: String
- the KEY_TEXT value
SoftButtonType
Get the Type
Kind: Instance method of SoftButton
Returns: SoftButtonType
- the KEY_TYPE value
SoftButton
Set 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. |
SoftButton
Set 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} |
SoftButton
Set 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} |
SoftButton
Set 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'} |
SoftButton
Set 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} |
SoftButton
Set 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. |