primaryBtn
The first button inside the message.
- Parameters:
primaryBtn- The first button inside the message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
Buildable, CopyableBuilder<InAppMessageContent.Builder,InAppMessageContent> , SdkBuilder<InAppMessageContent.Builder,InAppMessageContent> , SdkPojoInAppMessageContentbackgroundColor(String backgroundColor) default InAppMessageContent.BuilderbodyConfig(Consumer<InAppMessageBodyConfig.Builder> bodyConfig) bodyConfig(InAppMessageBodyConfig bodyConfig) default InAppMessageContent.BuilderheaderConfig(Consumer<InAppMessageHeaderConfig.Builder> headerConfig) headerConfig(InAppMessageHeaderConfig headerConfig) default InAppMessageContent.BuilderprimaryBtn(Consumer<InAppMessageButton.Builder> primaryBtn) primaryBtn(InAppMessageButton primaryBtn) default InAppMessageContent.BuildersecondaryBtn(Consumer<InAppMessageButton.Builder> secondaryBtn) secondaryBtn(InAppMessageButton secondaryBtn) copyapplyMutation, buildequalsBySdkFields, sdkFieldsThe background color for the message.
backgroundColor - The background color for the message.The configuration for the message body.
bodyConfig - The configuration for the message body.The configuration for the message body.
This is a convenience method that creates an instance of theInAppMessageBodyConfig.Builder avoiding
the need to create one manually via InAppMessageBodyConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to bodyConfig(InAppMessageBodyConfig).
bodyConfig - a consumer that will call methods on InAppMessageBodyConfig.BuilderThe configuration for the message header.
headerConfig - The configuration for the message header.The configuration for the message header.
This is a convenience method that creates an instance of theInAppMessageHeaderConfig.Builder
avoiding the need to create one manually via InAppMessageHeaderConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to headerConfig(InAppMessageHeaderConfig).
headerConfig - a consumer that will call methods on InAppMessageHeaderConfig.BuilderThe image url for the background of message.
imageUrl - The image url for the background of message.The first button inside the message.
primaryBtn - The first button inside the message.The first button inside the message.
This is a convenience method that creates an instance of theInAppMessageButton.Builder avoiding the
need to create one manually via InAppMessageButton.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to primaryBtn(InAppMessageButton).
primaryBtn - a consumer that will call methods on InAppMessageButton.BuilderThe second button inside message.
secondaryBtn - The second button inside message.The second button inside message.
This is a convenience method that creates an instance of theInAppMessageButton.Builder avoiding the
need to create one manually via InAppMessageButton.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to secondaryBtn(InAppMessageButton).
secondaryBtn - a consumer that will call methods on InAppMessageButton.Builder