Package-level declarations

Types

Link copied to clipboard
actual class Action

An action of a message: the URL it opens, and the button that triggers it, if any.

expect class Action

An action of a message: the URL it opens, and the button that triggers it, if any.

actual class Action

An action of a message: the URL it opens, and the button that triggers it, if any.

Link copied to clipboard

A banner message, shown at the top of the screen.

A banner message, shown at the top of the screen.

A banner message, shown at the top of the screen.

Link copied to clipboard
actual class Button

A button of a message.

expect class Button

A button of a message.

actual class Button

A button of a message.

Link copied to clipboard
actual class CampaignMetadata

The campaign a message belongs to.

expect class CampaignMetadata

The campaign a message belongs to.

actual class CampaignMetadata

The campaign a message belongs to.

Link copied to clipboard
actual class CardMessage : InAppMessage

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

expect class CardMessage : InAppMessage

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

actual class CardMessage : InAppMessage

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

Link copied to clipboard
actual class ImageData

An image of a message. The Android SDK's getBitmapData() is not mirrored: it returns an android.graphics.Bitmap, and the Android SDK never sets it (the display loads imageUrl itself). On Apple platforms the image the iOS SDK downloaded is in the imageRawData of the iOS message, see the ios extension of InAppMessage.

expect class ImageData

An image of a message. The Android SDK's getBitmapData() is not mirrored: it returns an android.graphics.Bitmap, and the Android SDK never sets it (the display loads imageUrl itself). On Apple platforms the image the iOS SDK downloaded is in the imageRawData of the iOS message, see the ios extension of InAppMessage.

actual class ImageData

An image of a message. The Android SDK's getBitmapData() is not mirrored: it returns an android.graphics.Bitmap, and the Android SDK never sets it (the display loads imageUrl itself). On Apple platforms the image the iOS SDK downloaded is in the imageRawData of the iOS message, see the ios extension of InAppMessage.

Link copied to clipboard

A message that is only an image.

A message that is only an image.

A message that is only an image.

Link copied to clipboard
actual abstract class InAppMessage

A message to display: a BannerMessage, CardMessage, ImageOnlyMessage or ModalMessage, as its messageType says. The deprecated members are the Android SDK's message-independent getters.

expect abstract class InAppMessage

A message to display: a BannerMessage, CardMessage, ImageOnlyMessage or ModalMessage, as its messageType says. The deprecated members are the Android SDK's message-independent getters.

actual abstract class InAppMessage
Link copied to clipboard

The type, and so the layout, of an InAppMessage.

Link copied to clipboard
actual class ModalMessage : InAppMessage

A modal message, shown in the middle of the screen.

expect class ModalMessage : InAppMessage

A modal message, shown in the middle of the screen.

actual class ModalMessage : InAppMessage

A modal message, shown in the middle of the screen.

Link copied to clipboard
actual class Text

A text of a message and its color.

expect class Text

A text of a message and its color.

actual class Text

A text of a message and its color.

Properties

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).