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

InAppMessage

data class InAppMessage : Parcelable

Types

Alignment

enum class Alignment

Button

data class Button : Parcelable

ButtonConfig

enum class ButtonConfig

CloseButton

data class CloseButton : Parcelable

LayoutOrder

enum class LayoutOrder

Media

data class Media : Parcelable

Size

enum class Size

TextField

data class TextField : Parcelable

Type

enum class Type

Constructors

<init>

InAppMessage(json: JSONObject)

Properties

backgroundColor

val backgroundColor: String?

body

val body: TextField?

borderColor

val borderColor: String?

borderWidth

val borderWidth: Size

buttonConfiguration

val buttonConfiguration: ButtonConfig

buttons

val buttons: List<Button>?

closeButton

val closeButton: CloseButton?

cornerRadius

val cornerRadius: Size

displayDuration

val displayDuration: Long

displayLimit

val displayLimit: Int

endDateUtc

val endDateUtc: Date?

id

val id: String

layoutOrder

val layoutOrder: LayoutOrder

media

val media: Media?

modifiedDateUtc

val modifiedDateUtc: Date?

priority

val priority: Int

startDateUtc

val startDateUtc: Date?

title

val title: TextField?

type

val type: Type

windowColor

val windowColor: String?

Functions

backgroundColor

fun backgroundColor(): String?

body

fun body(): TextField?

borderColor

fun borderColor(): String?

borderWidth

fun borderWidth(): Size

buttonConfiguration

fun buttonConfiguration(): ButtonConfig

buttons

fun buttons(): List<Button>?

closeButton

fun closeButton(): CloseButton?

cornerRadius

fun cornerRadius(): Size

displayDuration

fun displayDuration(): Long

displayLimit

fun displayLimit(): Int

endDateUtc

fun endDateUtc(): Date?

id

fun id(): String

layoutOrder

fun layoutOrder(): LayoutOrder

media

fun media(): Media?

modifiedDateUtc

fun modifiedDateUtc(): Date?

priority

fun priority(): Int

startDateUtc

fun startDateUtc(): Date?

title

fun title(): TextField?

toJson

fun toJson(): JSONObject

type

fun type(): Type

windowColor

fun windowColor(): String?