Language

AdSelectionOutcome.Builder.SetAdSelectionId(Int64) Method

Definition

Sets the mAdSelectionId.

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

Parameters

adSelectionId
Int64

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

Returns

This builder.

Attributes

Remarks

Sets the mAdSelectionId.

Android reference for android.adservices.adselection.AdSelectionOutcome.Builder.setAdSelectionId.

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