MessagingCloseReason

Enum for the different reasons why an In-App message can be closed.

Entries

Link copied to clipboard

The message was closed automatically from auto dismiss feature.

Link copied to clipboard

The message was closed by the user (like clicking on the close or back button).

Link copied to clipboard

The message was closed because the user clicked on a CTA.

Link copied to clipboard

The message was closed because of an error (for example, a message with only one image in it that fails to be downloaded).

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.