语言

ReportEventRequest.ReportingDestinations 属性

定义

返回要向(买家、卖方、组件卖方或任何组合)报告目的地的位域。

public virtual Android.AdServices.AdSelection.ReportingDestination ReportingDestinations { [Android.Runtime.Register("getReportingDestinations", "()I", "GetGetReportingDestinationsHandler", ApiSince=35)] get; }
[<get: Android.Runtime.Register("getReportingDestinations", "()I", "GetGetReportingDestinationsHandler", ApiSince=35)>]
member this.ReportingDestinations : Android.AdServices.AdSelection.ReportingDestination

属性值

值为 0 或以下值的组合:FLAG_REPORTING_DESTINATION_SELLER;FLAG_REPORTING_DESTINATION_BUYER;FLAG_REPORTING_DESTINATION_COMPONENT_SELLER

特性

注解

返回要向(买家、卖方、组件卖方或任何组合)报告目的地的位域。

若要创建此位域,请在要报告的每个|位运算符之间放置一个reportingDestination按位运算符。 例如,若要仅向买家报告,请将 reportingDestinations 字段设置为#FLAG_REPORTING_DESTINATION_BUYER“仅向卖家报告”,将 reportingDestinations 字段设置为#FLAG_REPORTING_DESTINATION_SELLER“向买家和卖家报告”,将 reportingDestinations 字段设置为#FLAG_REPORTING_DESTINATION_BUYER | #FLAG_REPORTING_DESTINATION_SELLER 。 若要向买家、卖方和组件卖家报告,请将 reportingDestinations 字段设置为 #FLAG_REPORTING_DESTINATION_BUYER | #FLAG_REPORTING_DESTINATION_SELLER | #FLAG_REPORTING_DESTINATION_COMPONENT_SELLER。

Java文档android.adservices.adselection.ReportEventRequest.getReportingDestinations()。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于