Builder

class Builder

Builder class of MomentsLinkCTAConfig

Constructors

Builder
Link copied to clipboard
fun Builder()

Functions

build
Link copied to clipboard
fun build(): MomentsLinkCTAConfig

This function builds MomentsLinkCTAConfig with the current properties

setLinkTextColor
Link copied to clipboard
fun setLinkTextColor(color: Int): MomentsLinkCTAConfig.Builder

This function allows you to change the link text color of the Moments Link CTA view

setMomentsLinkCTAState
Link copied to clipboard
fun setMomentsLinkCTAState(state: LinkCTAState): MomentsLinkCTAConfig.Builder

This function determines which options to present to your user for link cta

setMomentsLinkItems
Link copied to clipboard
fun setMomentsLinkItems(items: List<MomentsLinkItem>): MomentsLinkCTAConfig.Builder

This function allows your users to select from predefined links in in-app link cta

setPreviewPageType
Link copied to clipboard
fun setPreviewPageType(isCustom: Boolean): MomentsLinkCTAConfig.Builder

This function allows you to use custom preview page type