NumberStringArray.<SoftButton>NumberScrollableMessageScrollableMessageScrollableMessageScrollableMessageNumberGet the CancelID
Kind: Instance method of ScrollableMessage
Returns: Number - the KEY_CANCEL_ID value
StringGet 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
NumberGet the Timeout
Kind: Instance method of ScrollableMessage
Returns: Number - the KEY_TIMEOUT value
ScrollableMessageSet 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. |
ScrollableMessageSet 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} |
ScrollableMessageSet 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} |
ScrollableMessageSet 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} |