Go to console

InAppMessage

public abstract class InAppMessage extends Object
Known Direct Subclasses

Encapsulates a Firebase In App Message.

Public Method Summary

abstract Action
getAction()
Deprecated - Use the message specific methods (see CardMessage) instead.
Button
getActionButton()
Deprecated - Use the message specific methods (see CardMessage)
String
getBackgroundHexColor()
Deprecated - Use the message specific methods (see CardMessage) instead.
Text
getBody()
Deprecated - Use the message specific methods (see CardMessage) instead.
String
getCampaignId()
Deprecated - Use getCampaignMetadata().getCampaignId() instead.
CampaignMetadata
getCampaignMetadata()
Gets the CampaignMetadata of the message
String
getCampaignName()
Deprecated - Use getCampaignMetadata().getCampaignName() instead.
ImageData
getImageData()
Deprecated - Use the message specific methods (see CardMessage) instead.
String
getImageUrl()
Deprecated - Use the message specific methods (see CardMessage) instead.
Boolean
getIsTestMessage()
Deprecated - Use getCampaignMetadata().getIsTestMessage() instead.
MessageType
getMessageType()
Gets the MessageType of the message
Text
getTitle()
Deprecated - Use the message specific methods instead.

Inherited Method Summary

Public Methods

public abstract Action getAction ()

Deprecated - Use the message specific methods (see CardMessage) instead.

public Button getActionButton ()

Deprecated - Use the message specific methods (see CardMessage)

public String getBackgroundHexColor ()

Deprecated - Use the message specific methods (see CardMessage) instead.

public Text getBody ()

Deprecated - Use the message specific methods (see CardMessage) instead.

public String getCampaignId ()

Deprecated - Use getCampaignMetadata().getCampaignId() instead.

public CampaignMetadata getCampaignMetadata ()

Gets the CampaignMetadata of the message

public String getCampaignName ()

Deprecated - Use getCampaignMetadata().getCampaignName() instead.

public ImageData getImageData ()

Deprecated - Use the message specific methods (see CardMessage) instead.

public String getImageUrl ()

Deprecated - Use the message specific methods (see CardMessage) instead.

public Boolean getIsTestMessage ()

Deprecated - Use getCampaignMetadata().getIsTestMessage() instead.

public MessageType getMessageType ()

Gets the MessageType of the message

public Text getTitle ()

Deprecated - Use the message specific methods instead.