Stay organized with collections Save and categorize content based on your preferences.

InAppMessageParams.Builder

public static final class InAppMessageParams.Builder
extends Object

java.lang.Object
   ↳ com.android.billingclient.api.InAppMessageParams.Builder
Included in documentation by the annotations: @Annotations.InAppMessaging

Helps construct InAppMessageParams.

Summary

Public constructors

Builder()

Public methods

InAppMessageParams.Builder addAllInAppMessageCategoriesToShow()

Adds all in-app message categories to show.

InAppMessageParams.Builder addInAppMessageCategoryToShow(int inAppMessageCategoryId)

Adds a specific in-app message category to show.

InAppMessageParams build()

Returns InAppMessageParams.

Inherited methods

Public constructors

Builder

public Builder ()

Public methods

addAllInAppMessageCategoriesToShow

public InAppMessageParams.Builder addAllInAppMessageCategoriesToShow ()

Adds all in-app message categories to show.

Returns
InAppMessageParams.Builder

addInAppMessageCategoryToShow

public InAppMessageParams.Builder addInAppMessageCategoryToShow (int inAppMessageCategoryId)

Adds a specific in-app message category to show.

Parameters
inAppMessageCategoryId int: A high-level category of the in-app message.

Returns
InAppMessageParams.Builder

build

public InAppMessageParams build ()

Returns InAppMessageParams.

Returns
InAppMessageParams