ComponentInfo.AttributionTags Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Set of attribution tags that should be automatically applied to this component.
[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
Property Value
- Attributes
Remarks
Set of attribution tags that should be automatically applied to this component.
When this component represents an Activity
, Service
, ContentResolver
or BroadcastReceiver
, each instance will be automatically configured with Context#createAttributionContext
using the first attribution tag contained here.
Additionally, when this component represents a BroadcastReceiver
and the sender of a broadcast requires the receiver to hold one or more specific permissions, those permission checks will be performed using each of the attributions tags contained here.
Java documentation for android.content.pm.ComponentInfo.attributionTags
.
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.