Language

KeyedFrequencyCap.Builder.SetInterval(Duration) Method

Definition

Sets the interval, as a Duration which will be truncated to the nearest second, over which the frequency cap is calculated.

[Android.Runtime.Register("setInterval", "(Ljava/time/Duration;)Landroid/adservices/common/KeyedFrequencyCap$Builder;", "", ApiSince=35)]
public Android.AdServices.Common.KeyedFrequencyCap.Builder SetInterval(Java.Time.Duration interval);
[<Android.Runtime.Register("setInterval", "(Ljava/time/Duration;)Landroid/adservices/common/KeyedFrequencyCap$Builder;", "", ApiSince=35)>]
member this.SetInterval : Java.Time.Duration -> Android.AdServices.Common.KeyedFrequencyCap.Builder

Parameters

interval
Duration

Returns

Attributes

Remarks

Sets the interval, as a Duration which will be truncated to the nearest second, over which the frequency cap is calculated.

See KeyedFrequencyCap.getInterval() for more information.

Android reference for android.adservices.common.KeyedFrequencyCap.Builder.setInterval.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to