ComponentInfo.AttributionTags 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
应自动应用于此组件的归因标记集。
[Android.Runtime.Register("attributionTags", ApiSince=31)]
public System.Collections.Generic.IList<string>? AttributionTags { get; set; }
[<Android.Runtime.Register("attributionTags", ApiSince=31)>]
member this.AttributionTags : System.Collections.Generic.IList<string> with get, set
属性值
- 属性
注解
应自动应用于此组件的归因标记集。
当此组件表示 、 或 BroadcastReceiver
时, ContentResolver
Service
将使用此处包含的第一个Activity
属性标记自动配置Context#createAttributionContext
每个实例。
此外,当此组件表示 并且 BroadcastReceiver
广播的发送方要求接收方持有一个或多个特定权限时,将使用此处包含的每个属性标记执行这些权限检查。
的 android.content.pm.ComponentInfo.attributionTags
Java 文档。
此页面的部分内容是基于 创建和共享的工作进行的修改,并根据 署名许可中所述的术语使用。