InAppMessageStatus
Enum class represents the status of an in-app message.
Enum class represents the status of an in-app message.
Entries | Value | Description |
---|---|---|
NONE | -1 | It indicates that the status is not set. |
NOT_SENT | 0 | It indicates that the message has not been sent. |
SENT | 1 | It indicates that the message has been sent. |
DELIVERED | 2 | It indicates that the message has been delivered. |
READ | 3 | It indicates that the message has been read. |
CLICKED | 4 | It indicates that the message has been clicked. |
Companion Functions
fromValue
Converts an integer to the corresponding InAppMessageStatus.
Syntax: fun fromValue(value: Int): InAppMessageStatus
Parameters
Parameters | Type | Description |
---|---|---|
value | Int | The integer represents the message status. |
Return The InAppMessageStatus corresponding to the given integer value. InAppMessageStatus.NONE if no corresponding status is found.
Updated about 1 month ago