Language

PersistAdSelectionResultRequest.Builder.SetAdSelectionDataId(Int64) Method

Definition

Sets the ad selection data id Long.

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

Parameters

adSelectionDataId
Int64

The data identifier to store. In the Android 16 AOSP source, the build operation rejects zero.

Returns

This builder.

Attributes

Remarks

Sets the ad selection data id Long.

Android reference for android.adservices.adselection.PersistAdSelectionResultRequest.Builder.setAdSelectionDataId.

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