Language

ReportEventRequest.Builder.SetKey(String) Method

Definition

Sets the event key, the type of ad event to be reported.

[Android.Runtime.Register("setKey", "(Ljava/lang/String;)Landroid/adservices/adselection/ReportEventRequest$Builder;", "", ApiSince=35)]
public Android.AdServices.AdSelection.ReportEventRequest.Builder SetKey(string eventKey);
[<Android.Runtime.Register("setKey", "(Ljava/lang/String;)Landroid/adservices/adselection/ReportEventRequest$Builder;", "", ApiSince=35)>]
member this.SetKey : string -> Android.AdServices.AdSelection.ReportEventRequest.Builder

Parameters

eventKey
String

Returns

Attributes

Remarks

Sets the event key, the type of ad event to be reported.

See ReportEventRequest.getKey() for more information.

Android reference for android.adservices.adselection.ReportEventRequest.Builder.setKey.

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