AttributionSource.MyAttributionSource Method
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.
Returns a generic AttributionSource
that represents the entire
calling process.
[Android.Runtime.Register("myAttributionSource", "()Landroid/content/AttributionSource;", "", ApiSince=33)]
public static Android.Content.AttributionSource MyAttributionSource ();
[<Android.Runtime.Register("myAttributionSource", "()Landroid/content/AttributionSource;", "", ApiSince=33)>]
static member MyAttributionSource : unit -> Android.Content.AttributionSource
Returns
a generic AttributionSource
representing the entire
calling process
- Attributes
Remarks
Returns a generic AttributionSource
that represents the entire calling process.
Callers are <em>strongly</em> encouraged to use a more specific attribution source whenever possible, such as from Context#getAttributionSource()
, since that enables developers to have more detailed and scoped control over attribution within sub-components of their app.
Java documentation for android.content.AttributionSource.myAttributionSource()
.
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.