[SdlArtwork, null]
Boolean
[String, null]
SoftButton
SystemAction
SoftButtonState
SoftButtonState
SoftButtonState
Creates a new instance of SoftButtonState Note: state names should be different for each SoftButtonObject
[SdlArtwork, null]
Get the Artwork for the state
Kind: Instance method of SoftButtonState
Returns: [SdlArtwork, null]
- an SdlArtwork object represents the artwork for the state
Boolean
Get whether or not the button should be highlighted on the UI
Kind: Instance method of SoftButtonState
Returns: Boolean
- boolean representing whether or not the button should be highlighted
[String, null]
Get the state name
Kind: Instance method of SoftButtonState
Returns: [String, null]
- a String value represents the name of the state
SoftButton
Get the SoftButton for the state
Kind: Instance method of SoftButtonState
Returns: SoftButton
- a SoftButton object represents the SoftButton for the state
SystemAction
Get whether selecting a SoftButton shall call a specific system action
Kind: Instance method of SoftButtonState
Returns: SystemAction
- SystemAction value representing whether selecting a SoftButton shall call a specific action
SoftButtonState
Set whether or not the button should be highlighted on the UI
Kind: Instance method of SoftButtonState
Returns: SoftButtonState
- A reference to this instance to support method chaining.
Param | Type | Description |
---|---|---|
highlighted | Boolean |
A boolean representing whether or not the button should be highlighted |
SoftButtonState
Set the state name
Kind: Instance method of SoftButtonState
Returns: SoftButtonState
- A reference to this instance to support method chaining.
Param | Type | Description |
---|---|---|
name | String |
A String value represents the name of the state |
SoftButtonState
Set whether selecting a SoftButton shall call a specific system action
Kind: Instance method of SoftButtonState
Returns: SoftButtonState
- A reference to this instance to support method chaining.
Param | Type | Description |
---|---|---|
systemAction | SystemAction |
A SystemAction value representing whether selecting a SoftButton shall call a specific action |