AdFilters.Builder
public
static
final
class
AdFilters.Builder
extends Object
java.lang.Object | |
↳ | android.adservices.common.AdFilters.Builder |
Builder for creating AdFilters
objects.
Summary
Public constructors | |
---|---|
Builder()
|
Public methods | |
---|---|
AdFilters
|
build()
Builds and returns an |
AdFilters.Builder
|
setFrequencyCapFilters(FrequencyCapFilters frequencyCapFilters)
Sets the |
Inherited methods | |
---|---|
Public constructors
Public methods
build
public AdFilters build ()
Builds and returns an AdFilters
instance.
Returns | |
---|---|
AdFilters |
This value cannot be null . |
setFrequencyCapFilters
public AdFilters.Builder setFrequencyCapFilters (FrequencyCapFilters frequencyCapFilters)
Sets the FrequencyCapFilters
which will apply to the ad.
If set to null
or not set, no frequency cap filters will be associated with
the ad.
Parameters | |
---|---|
frequencyCapFilters |
FrequencyCapFilters : This value may be null . |
Returns | |
---|---|
AdFilters.Builder |