Encapsulates a Firebase In App Card Message.
Public Method Summary
Action |
getAction()
This method is deprecated. Use
getPrimaryAction() or
getSecondaryAction() instead.
|
String |
getBackgroundHexColor()
This method is deprecated. Use the message specific methods (see
CardMessage ,
ModalMessage ,
BannerMessage ,
ImageOnlyMessage ) instead.
|
Text |
getBody()
This method is deprecated. Use the message specific methods (see
CardMessage ,
ModalMessage ,
BannerMessage ,
ImageOnlyMessage ) instead.
|
ImageData |
getImageData()
This method is deprecated. Use
getPortraitImageData() or
getLandscapeImageData() instead.
|
ImageData |
getLandscapeImageData()
Gets the
ImageData
displayed when the phone is in a landscape orientation
|
ImageData |
getPortraitImageData()
Gets the
ImageData
displayed when the phone is in a portrait orientation
|
Action |
getPrimaryAction()
Gets the primary
Action
associated with this message.
|
Action |
getSecondaryAction()
Gets the secondary
Action
associated with this message
|
Text |
getTitle()
This method is deprecated. Use the message specific methods (see
CardMessage ,
ModalMessage ,
BannerMessage ,
ImageOnlyMessage ) instead.
|
Inherited Method Summary
Public Methods
public Action getAction ()
This method is deprecated.
Use
getPrimaryAction()
or
getSecondaryAction()
instead.
public String getBackgroundHexColor ()
This method is deprecated.
Use the message specific methods (see CardMessage
,
ModalMessage
,
BannerMessage
,
ImageOnlyMessage
)
instead.
Gets the background hex color associated with this message
public Text getBody ()
This method is deprecated.
Use the message specific methods (see CardMessage
,
ModalMessage
,
BannerMessage
,
ImageOnlyMessage
)
instead.
Gets the body Text
associated with this message
public ImageData getImageData ()
This method is deprecated.
Use
getPortraitImageData()
or
getLandscapeImageData()
instead.
public ImageData getLandscapeImageData ()
Gets the ImageData
displayed when the phone is in a landscape orientation
public ImageData getPortraitImageData ()
Gets the ImageData
displayed when the phone is in a portrait orientation
public Action getPrimaryAction ()
Gets the primary Action
associated with this message. If none is defined, the primary action is 'dismiss'
public Text getTitle ()
This method is deprecated.
Use the message specific methods (see CardMessage
,
ModalMessage
,
BannerMessage
,
ImageOnlyMessage
)
instead.
Gets the title Text
associated with this message