Language

UpdateAdCounterHistogramRequest.Builder Constructor

Definition

Creates a builder for an ad counter histogram update request.

[Android.Runtime.Register(".ctor", "(JILandroid/adservices/common/AdTechIdentifier;)V", "", ApiSince=35)]
public Builder(long adSelectionId, int adEventType, Android.AdServices.Common.AdTechIdentifier callerAdTech);
[<Android.Runtime.Register(".ctor", "(JILandroid/adservices/common/AdTechIdentifier;)V", "", ApiSince=35)>]
new Android.AdServices.AdSelection.UpdateAdCounterHistogramRequest.Builder : int64 * int * Android.AdServices.Common.AdTechIdentifier -> Android.AdServices.AdSelection.UpdateAdCounterHistogramRequest.Builder

Parameters

adSelectionId
Int64

The ad selection identifier to store in the request.

adEventType
Int32

The event type for the histogram to update.

callerAdTech
AdTechIdentifier

The identifier of the calling ad tech entity.

Attributes

Remarks

In the Android 16 AOSP source, the constructor rejects a zero identifier, a win event type, an event type outside the supported range, or a null caller identifier.

Applies to