MessageButton

MessageButton is a model for a styleable button containing text and a click action.

Constructors

Link copied to clipboard
constructor()
constructor(jsonObject: JSONObject, darkThemeObject: JSONObject? = null)
private constructor(jsonObject: JSONObject, darkThemeJsonObject: JSONObject?, id: Int, clickAction: ClickAction, uri: String?, text: String, backgroundColor: Int, textColor: Int, openUriInWebview: Boolean, borderColor: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
var backgroundColor: ERROR CLASS: Unresolved name: toColorInt
Link copied to clipboard
var borderColor: ERROR CLASS: Unresolved name: toColorInt
Link copied to clipboard
Link copied to clipboard
private var darkTheme: ERROR CLASS: Symbol not found for MessageButtonTheme??
Link copied to clipboard
var id: Int
Link copied to clipboard
private var jsonObject: JSONObject?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var text: String?
Link copied to clipboard
Link copied to clipboard
var uri: Uri?

Functions

Link copied to clipboard
open override fun enableDarkTheme()

Instructs the IInAppMessage to apply any dark theme settings and override any existing values present on the IInAppMessage.

Link copied to clipboard
open override fun forJsonPut(): JSONObject?
Link copied to clipboard
fun setClickBehavior(clickAction: ClickAction, uri: Uri? = null)