语言

ReportEventRequest.Builder.SetReportingDestinations(Int32) 方法

定义

设置事件报告的目标标志。

[Android.Runtime.Register("setReportingDestinations", "(I)Landroid/adservices/adselection/ReportEventRequest$Builder;", "", ApiSince=35)]
public Android.AdServices.AdSelection.ReportEventRequest.Builder SetReportingDestinations(int reportingDestinations);
[<Android.Runtime.Register("setReportingDestinations", "(I)Landroid/adservices/adselection/ReportEventRequest$Builder;", "", ApiSince=35)>]
member this.SetReportingDestinations : int -> Android.AdServices.AdSelection.ReportEventRequest.Builder

参数

reportingDestinations
Int32

值为 0 或以下各项的组合:ReportEventRequest.FLAG_REPORTING_DESTINATION_SELLER;ReportEventRequest.FLAG_REPORTING_DESTINATION_BUYER;ReportEventRequest.FLAG_REPORTING_DESTINATION_COMPONENT_SELLER

返回

此生成器。

特性

注解

在 Android 16 AOSP 实现中,Java方法拒绝零,尽管参数说明列出了零。

适用于