다음을 통해 공유


KeyedFrequencyCap.Interval Property

Definition

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

public Java.Time.Duration Interval { [Android.Runtime.Register("getInterval", "()Ljava/time/Duration;", "", ApiSince=35)] get; }
[<get: Android.Runtime.Register("getInterval", "()Ljava/time/Duration;", "", ApiSince=35)>]
member this.Interval : Java.Time.Duration

Property Value

Attributes

Remarks

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

When this frequency cap is computed, the number of persisted events is counted in the most recent time interval. If the count of previously occurring matching events for an adtech is greater than the number returned by #getMaxCount(), the frequency cap has been exceeded, and the ad will not be eligible for ad selection.

Java documentation for android.adservices.common.KeyedFrequencyCap.getInterval().

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