public static interface CampaignInAppMessage.Builder extends SdkPojo, CopyableBuilder<CampaignInAppMessage.Builder,CampaignInAppMessage>
| Modifier and Type | Method and Description |
|---|---|
CampaignInAppMessage.Builder |
body(String body)
The message body of the notification, the email body or the text message.
|
CampaignInAppMessage.Builder |
content(Collection<InAppMessageContent> content)
In-app message content.
|
CampaignInAppMessage.Builder |
content(Consumer<InAppMessageContent.Builder>... content)
In-app message content.
|
CampaignInAppMessage.Builder |
content(InAppMessageContent... content)
In-app message content.
|
CampaignInAppMessage.Builder |
customConfig(Map<String,String> customConfig)
Custom config to be sent to client.
|
CampaignInAppMessage.Builder |
layout(Layout layout)
In-app message layout.
|
CampaignInAppMessage.Builder |
layout(String layout)
In-app message layout.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCampaignInAppMessage.Builder body(String body)
The message body of the notification, the email body or the text message.
body - The message body of the notification, the email body or the text message.CampaignInAppMessage.Builder content(Collection<InAppMessageContent> content)
In-app message content.
content - In-app message content.CampaignInAppMessage.Builder content(InAppMessageContent... content)
In-app message content.
content - In-app message content.CampaignInAppMessage.Builder content(Consumer<InAppMessageContent.Builder>... content)
In-app message content.
This is a convenience method that creates an instance of theList.Builder
avoiding the need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately
and its result is passed to #content(List) .content - a consumer that will call methods on List.Builder #content(List) CampaignInAppMessage.Builder customConfig(Map<String,String> customConfig)
Custom config to be sent to client.
customConfig - Custom config to be sent to client.CampaignInAppMessage.Builder layout(String layout)
In-app message layout.
CampaignInAppMessage.Builder layout(Layout layout)
In-app message layout.
Copyright © 2022. All rights reserved.