Builder


class Builder
kotlin.Any
   ↳ android.adservices.common.AppInstallFilters.Builder

Builder for creating AppInstallFilters objects.

Summary

Public constructors

Public methods
AppInstallFilters

Builds and returns a AppInstallFilters instance.

AppInstallFilters.Builder

Gets the list of package names this ad is filtered on.

Public constructors

Builder

Builder()

Public methods

build

fun build(): AppInstallFilters

Builds and returns a AppInstallFilters instance.

Return
AppInstallFilters This value cannot be null.

setPackageNames

fun setPackageNames(packageNames: MutableSet<String!>): AppInstallFilters.Builder

Gets the list of package names this ad is filtered on.

See getPackageNames() for more information.

Parameters
packageNames MutableSet<String!>: This value cannot be null.
Return
AppInstallFilters.Builder This value cannot be null.