Marketing Cloud SDK / com.salesforce.marketingcloud.messages.iam / InAppMessage / Button

Button

data class Button : Parcelable

Types

ActionType

enum class ActionType

Properties

action

val action: String?

actionType

val actionType: ActionType

backgroundColor

val backgroundColor: String?

borderColor

val borderColor: String?

borderWidth

val borderWidth: Size

cornerRadius

val cornerRadius: Size

fontColor

val fontColor: String?

fontSize

val fontSize: Size

id

val id: String

index

val index: Int

text

val text: String

Functions

action

fun action(): String?

actionType

fun actionType(): ActionType

backgroundColor

fun backgroundColor(): String?

borderColor

fun borderColor(): String?

borderWidth

fun borderWidth(): Size

cornerRadius

fun cornerRadius(): Size

fontColor

fun fontColor(): String?

fontSize

fun fontSize(): Size

id

fun id(): String

index

fun index(): Int

text

fun text(): String