| Package | Description |
|---|---|
| com.mixer.interactive.resources.control |
Provides interfaces and classes relating to Interactive controls.
|
| Modifier and Type | Method and Description |
|---|---|
ButtonControl |
ButtonControl.addToCooldown(Duration duration)
Adds the provided
Duration to the existing cooldown for this ButtonControl. |
protected ButtonControl |
ButtonControl.getThis()
Returns
this as an instance of the specified generic. |
ButtonControl |
ButtonControl.setCooldown(Instant cooldown)
Sets the UTC unix timestamp (in milliseconds) for when the cooldown for this
ButtonControl expires. |
ButtonControl |
ButtonControl.setCooldown(Number cooldown)
Sets the UTC unix timestamp (in milliseconds) for when the cooldown for this
ButtonControl expires. |
ButtonControl |
ButtonControl.setCost(Integer cost)
Sets the Spark cost for this
ButtonControl. |
ButtonControl |
ButtonControl.setKeyCode(Integer keyCode)
Sets the keyCode for this
ButtonControl. |
ButtonControl |
ButtonControl.setProgress(Float progress)
Sets the value for the progress bar for this
ButtonControl. |
ButtonControl |
ButtonControl.setText(String text)
Sets the text to be displayed on the
ButtonControl. |
ButtonControl |
ButtonControl.setTooltip(String tooltip)
Sets the tooltip text to be displayed when the participant hovers over the
ButtonControl. |
Copyright © 2018. All rights reserved.