| com.salesforce.marketingcloud.messages.iam.InAppMessageManager |
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| interface | InAppMessageManager.EventListener | When an object of this type is registered with the InAppMessageManager, its methods will be
called to signal certain in app message events. |
|||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract void |
setInAppMessageListener(InAppMessageManager.EventListener listener)
Set a
InAppMessageManager.EventListener that will be called during In App Message life cycle events. | ||||||||||
| abstract void |
setStatusBarColor(int color)
Set the color of the In App Message Activity status bar on Android 21 or higher.
| ||||||||||
| abstract void |
setTypeface(Typeface typeface)
Set the font android.graphics.Typeface to be used for In app Messages.
| ||||||||||
| abstract void |
showMessage(String messageId)
Will display the
InAppMessage with the matching id as long as:
| ||||||||||
Set a InAppMessageManager.EventListener that will be called during In App Message life cycle events.
| listener | an instance of the listener, or null to clear an existing instance. |
|---|
Set the color of the In App Message Activity status bar on Android 21 or higher.
| color | Packed color int to be used for the status bar. |
|---|
Set the font android.graphics.Typeface to be used for In app Messages.
| typeface | the typeface to be applied to the title, body and buttons of an In App
Message. Set to null to use system default.
|
|---|
Will display the InAppMessage with the matching id as long as:
start date is in the past.end date is in the future.| messageId | The id of a previously blocked in app message display attempt.
|
|---|