CardMessage

A card message, with a portrait and/or a landscape image and one or two buttons.

A card message, with a portrait and/or a landscape image and one or two buttons.

A card message, with a portrait and/or a landscape image and one or two buttons.

Properties

Link copied to clipboard
actual open override val action: Action?

The action of this message; for a CardMessage its primary action.

expect open override val action: Action?

The primary action.

actual open override val action: Action?

The action of this message; for a CardMessage its primary action.

Link copied to clipboard
actual open val actionButton: Button?

The button of action, if any.

expect open val actionButton: Button?

The button of action, if any.

actual open val actionButton: Button?

The button of action, if any.

Link copied to clipboard
actual open override val backgroundHexColor: String

The background color of this message.

expect open override val backgroundHexColor: String

The background color.

actual open override val backgroundHexColor: String

The background color of this message.

Link copied to clipboard
actual open override val body: Text?

The body of this message.

expect open override val body: Text?

The body, if any.

actual open override val body: Text?

The body of this message.

Link copied to clipboard
actual open val campaignId: String?

The id of the campaign; CampaignMetadata.campaignId.

expect open val campaignId: String?

The id of the campaign; CampaignMetadata.campaignId.

actual open val campaignId: String?

The id of the campaign; CampaignMetadata.campaignId.

Link copied to clipboard

The campaign this message belongs to.

The campaign this message belongs to.

The campaign this message belongs to.

Link copied to clipboard
actual open val campaignName: String?

The name of the campaign; CampaignMetadata.campaignName.

expect open val campaignName: String?

The name of the campaign; CampaignMetadata.campaignName.

actual open val campaignName: String?

The name of the campaign; CampaignMetadata.campaignName.

Link copied to clipboard
actual val data: Map<String, String>?

The custom key-value data of the campaign.

expect val data: Map<String, String>?

The custom key-value data of the campaign.

actual val data: Map<String, String>?

The custom key-value data of the campaign.

Link copied to clipboard
actual open override val imageData: ImageData?

The image of this message; for a CardMessage its portrait image.

expect open override val imageData: ImageData?

The portrait image.

actual open override val imageData: ImageData?

The image of this message; for a CardMessage its portrait image.

Link copied to clipboard
actual open val imageUrl: String?

The image URL of a message created by an old version of the Android SDK: always null for the messages the SDK creates now, on Android as well. Use the image data of the specific message type.

expect open val imageUrl: String?

The image URL of a message created by an old version of the Android SDK: always null for the messages the SDK creates now, on Android as well. Use the image data of the specific message type.

actual open val imageUrl: String?

The image URL of a message created by an old version of the Android SDK: always null for the messages the SDK creates now, on Android as well. Use the image data of the specific message type.

Link copied to clipboard
val InAppMessage.ios: FIRInAppMessagingDisplayMessage?

The iOS SDK's message this one was built from, a FIRInAppMessagingCardDisplay, FIRInAppMessagingModalDisplay, FIRInAppMessagingBannerDisplay or FIRInAppMessagingImageOnlyDisplay. It has what the Android model lacks, such as the trigger type and the downloaded image data (imageRawData).

Link copied to clipboard
@get:JvmName(name = "getIsTestMessage")
actual val isTestMessage: Boolean?

Whether this is a test message; CampaignMetadata.isTestMessage.

expect val isTestMessage: Boolean?

Whether this is a test message; CampaignMetadata.isTestMessage.

@get:JvmName(name = "getIsTestMessage")
actual val isTestMessage: Boolean?

Whether this is a test message; CampaignMetadata.isTestMessage.

Link copied to clipboard

The image displayed in landscape orientation, if any.

The image displayed in landscape orientation, if any.

The image displayed in landscape orientation, if any.

Link copied to clipboard

The type of this message.

The type of this message.

The type of this message.

Link copied to clipboard

The image displayed in portrait orientation, if any.

The image displayed in portrait orientation, if any.

The image displayed in portrait orientation, if any.

Link copied to clipboard
actual val primaryAction: Action

The action of the primary button.

expect val primaryAction: Action

The action of the primary button.

actual val primaryAction: Action

The action of the primary button.

Link copied to clipboard
actual val secondaryAction: Action?

The action of the secondary button, if the card has one.

expect val secondaryAction: Action?

The action of the secondary button, if the card has one.

actual val secondaryAction: Action?

The action of the secondary button, if the card has one.

Link copied to clipboard
actual open override val title: Text

The title of this message.

expect open override val title: Text

The title.

actual open override val title: Text

The title of this message.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String