語言

AdData.Builder.SetAdCounterKeys(ICollection<Integer>) 方法

定義

設定用於計數事件的鍵組。

[Android.Runtime.Register("setAdCounterKeys", "(Ljava/util/Set;)Landroid/adservices/common/AdData$Builder;", "", ApiSince=35)]
public Android.AdServices.Common.AdData.Builder SetAdCounterKeys(System.Collections.Generic.ICollection<Java.Lang.Integer> adCounterKeys);
[<Android.Runtime.Register("setAdCounterKeys", "(Ljava/util/Set;)Landroid/adservices/common/AdData$Builder;", "", ApiSince=35)>]
member this.SetAdCounterKeys : System.Collections.Generic.ICollection<Java.Lang.Integer> -> Android.AdServices.Common.AdData.Builder

參數

adCounterKeys
ICollection<Integer>

傳回

屬性

備註

設定用於計數事件的鍵組。

廣告中最多只能關聯 10 個廣告計數鍵。

更多資訊請參閱 AdData.getAdCounterKeys()

Android 參考資料。android.adservices.common.AdData.Builder.setAdCounterKeys

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於