Sdílet prostřednictvím


AttributionSource.IsTrusted(Context) Method

Definition

Checks whether this attribution source can be trusted.

[Android.Runtime.Register("isTrusted", "(Landroid/content/Context;)Z", "", ApiSince=31)]
public bool IsTrusted (Android.Content.Context context);
[<Android.Runtime.Register("isTrusted", "(Landroid/content/Context;)Z", "", ApiSince=31)>]
member this.IsTrusted : Android.Content.Context -> bool

Parameters

context
Context

Context handle.

Returns

Whether this is a trusted source.

Attributes

Remarks

Checks whether this attribution source can be trusted. That is whether the app it refers to created it and provided to the attribution chain.

Java documentation for android.content.AttributionSource.isTrusted(android.content.Context).

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.

Applies to