Share via


ReportEventRequest.Data Property

Definition

Returns the ad event data.

public virtual string Data { [Android.Runtime.Register("getData", "()Ljava/lang/String;", "GetGetDataHandler", ApiSince=35)] get; }
[<get: Android.Runtime.Register("getData", "()Ljava/lang/String;", "GetGetDataHandler", ApiSince=35)>]
member this.Data : string

Property Value

Attributes

Remarks

Returns the ad event data.

After ad selection, this data is generated by the caller. The caller can then call AdSelectionManager#reportEvent. This data will be attached in a POST request to the reportingUri registered in registerAdBeacon.

The size of String#getBytes() in UTF-8 format should be below 64KB.

Java documentation for android.adservices.adselection.ReportEventRequest.getData().

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