Language

CustomAudience.Builder.SetPriority(Double) Method

Definition

Sets the priority for this custom audience.

[Android.Runtime.Register("setPriority", "(D)Landroid/adservices/customaudience/CustomAudience$Builder;", "", ApiSince=36)]
public Android.AdServices.CustomAudiences.CustomAudience.Builder SetPriority(double priority);
[<Android.Runtime.Register("setPriority", "(D)Landroid/adservices/customaudience/CustomAudience$Builder;", "", ApiSince=36)>]
member this.SetPriority : double -> Android.AdServices.CustomAudiences.CustomAudience.Builder

Parameters

priority
Double

The audience's priority relative to other audiences for the same buyer. Higher-priority audiences are considered first when server auction payload space is limited.

Returns

This builder with the audience priority set.

Attributes

Remarks

Sets the priority for this custom audience.

See CustomAudience.getPriority() for further details.

Android reference for android.adservices.customaudience.CustomAudience.Builder.setPriority.

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