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 theInAppMessageContent.Builder avoiding the need to
create one manually via InAppMessageContent.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #content(List.
content - a consumer that will call methods on
InAppMessageContent.Builder#content(java.util.Collection) 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 © 2023. All rights reserved.