Number
String
Array.<SoftButton>
Number
ScrollableMessage
ScrollableMessage
ScrollableMessage
ScrollableMessage
Number
Get the CancelID
Kind: Instance method of ScrollableMessage
Returns: Number
- the KEY_CANCEL_ID value
String
Get the ScrollableMessageBody
Kind: Instance method of ScrollableMessage
Returns: String
- the KEY_SCROLLABLE_MESSAGE_BODY value
Array.<SoftButton>
Get the SoftButtons
Kind: Instance method of ScrollableMessage
Returns: Array.<SoftButton>
- the KEY_SOFT_BUTTONS value
Number
Get the Timeout
Kind: Instance method of ScrollableMessage
Returns: Number
- the KEY_TIMEOUT value
ScrollableMessage
Set the CancelID
Kind: Instance method of ScrollableMessage
Returns: ScrollableMessage
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
id | Number |
An ID for this specific ScrollableMessage to allow cancellation through the `CancelInteraction` RPC. - The desired CancelID. |
ScrollableMessage
Set the ScrollableMessageBody
Kind: Instance method of ScrollableMessage
Returns: ScrollableMessage
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
body | String |
Body of text that can include newlines and tabs. - The desired ScrollableMessageBody. {'string_min_length': 1, 'string_max_length': 500} |
ScrollableMessage
Set the SoftButtons
Kind: Instance method of ScrollableMessage
Returns: ScrollableMessage
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
buttons | Array.<SoftButton> |
App defined SoftButtons. If omitted on supported displays, only the system defined "Close" SoftButton will be displayed. - The desired SoftButtons. {'array_min_size': 0, 'array_max_size': 8} |
ScrollableMessage
Set the Timeout
Kind: Instance method of ScrollableMessage
Returns: ScrollableMessage
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
timeout | Number |
App defined timeout. Indicates how long of a timeout from the last action (i.e. scrolling message resets timeout). - The desired Timeout. {'default_value': 30000, 'num_min_value': 1000, 'num_max_value': 65535} |