语言

UpdateAdCounterHistogramRequest.Builder.SetAdSelectionId(Int64) 方法

定义

设置与呈现的广告事件关联的广告选择 ID。

[Android.Runtime.Register("setAdSelectionId", "(J)Landroid/adservices/adselection/UpdateAdCounterHistogramRequest$Builder;", "", ApiSince=35)]
public Android.AdServices.AdSelection.UpdateAdCounterHistogramRequest.Builder SetAdSelectionId(long adSelectionId);
[<Android.Runtime.Register("setAdSelectionId", "(J)Landroid/adservices/adselection/UpdateAdCounterHistogramRequest$Builder;", "", ApiSince=35)>]
member this.SetAdSelectionId : int64 -> Android.AdServices.AdSelection.UpdateAdCounterHistogramRequest.Builder

参数

adSelectionId
Int64

要存储在请求中的广告选择标识符。

返回

此生成器。

特性

注解

设置与呈现的广告事件关联的广告选择 ID。

有关详细信息,请参阅 UpdateAdCounterHistogramRequest.getAdSelectionId()。

Android 参考。android.adservices.adselection.UpdateAdCounterHistogramRequest.Builder.setAdSelectionId

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于