Message Button
open class MessageButton : IPutIntoJson<JSONObject?> , IInAppMessageThemeable
Content copied to clipboard
MessageButton is a model for a styleable button containing text and a click action.
Constructors
MessageButton
Link copied to clipboard
fun MessageButton()
Content copied to clipboard
MessageButton
Link copied to clipboard
@JvmOverloads()
Content copied to clipboard
MessageButton
Link copied to clipboard
private fun MessageButton(jsonObject: JSONObject, darkThemeJsonObject: JSONObject?, id: Int, clickAction: ClickAction, uri: String?, text: String, @ColorInt() backgroundColor: Int, @ColorInt() textColor: Int, openUriInWebview: Boolean, @ColorInt() borderColor: Int)
Content copied to clipboard
Types
Functions
enableDarkTheme
Link copied to clipboard
open override fun enableDarkTheme()
Content copied to clipboard
Instructs the IInAppMessage to apply any dark theme settings and override any existing values present on the IInAppMessage.
forJsonPut
Link copied to clipboard
setClickBehavior
Link copied to clipboard
@JvmOverloads()
Content copied to clipboard
Properties
backgroundColor
Link copied to clipboard
borderColor
Link copied to clipboard
clickAction
Link copied to clipboard
jsonObject
Link copied to clipboard
openUriInWebview
Link copied to clipboard