InAppMessageParams.Builder

public final class InAppMessageParams.Builder 


Helps construct InAppMessageParams .

Summary

Public constructors

Public methods

InAppMessageParams.Builder

Adds all in-app message categories to show.

InAppMessageParams.Builder
addInAppMessageCategoryToShow(int inAppMessageCategoryId)

Adds a specific in-app message category to show.

InAppMessageParams

Returns InAppMessageParams .

Public constructors

Builder

public Builder()

Public methods

addAllInAppMessageCategoriesToShow

public InAppMessageParams.Builder addAllInAppMessageCategoriesToShow()

Adds all in-app message categories to show.

addInAppMessageCategoryToShow

public InAppMessageParams.Builder addInAppMessageCategoryToShow(int inAppMessageCategoryId)

Adds a specific in-app message category to show.

Parameters
int inAppMessageCategoryId

A high-level category of the in-app message.

build

public InAppMessageParams build()

Returns InAppMessageParams .

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024年02月27日 UTC.