The text to display on this button
The background color for this button. Hex value with opacity (e.g. 0xff00ff00 is opaque green).
The color for the text of this button. Hex value with opacity (e.g. 0xff00ff00 is opaque green).
The color for the border of this button. Hex value with opacity (e.g. 0xff00ff00 is opaque green).
Where the user should be brought when clicking on this button. See the
ClickAction
enum.
If clickAction
is ClickAction
.URI, the URI to follow when the
user clicks on this button.
The id for this button. Used for analytics.
The background color for this button. Hex value with opacity (e.g. 0xff00ff00 is opaque green).
The color for the border of this button. Hex value with opacity (e.g. 0xff00ff00 is opaque green).
Where the user should be brought when clicking on this button. See the
ClickAction
enum.
The id for this button. Used for analytics.
The text to display on this button
The color for the text of this button. Hex value with opacity (e.g. 0xff00ff00 is opaque green).
If clickAction
is ClickAction
.URI, the URI to follow when the
user clicks on this button.
Remove all event subscriptions from this button.
Remove an event subscription that you previously subscribed to.
The identifier of the subscription you wish to remove, returned by the method you initially used to create it.
Subscribe to receive click events on this button. The subscriber callback will be called whenever this button is clicked by the user.
The callback function to receive click events. This function will be invoked with no arguments when this button records a click.
The identifier of the subscription created. This can be passed to removeSubscription
to cancel the subscription.
Represents a button on an
ModalMessage
orFullScreenMessage
.