DomainVerificationManager.GetDomainVerificationUserState(String) Method

Definition

Retrieve the user state for the given package and the Context's user.

[Android.Runtime.Register("getDomainVerificationUserState", "(Ljava/lang/String;)Landroid/content/pm/verify/domain/DomainVerificationUserState;", "", ApiSince=31)]
public Android.Content.PM.Verify.Domain.DomainVerificationUserState? GetDomainVerificationUserState (string packageName);
[<Android.Runtime.Register("getDomainVerificationUserState", "(Ljava/lang/String;)Landroid/content/pm/verify/domain/DomainVerificationUserState;", "", ApiSince=31)>]
member this.GetDomainVerificationUserState : string -> Android.Content.PM.Verify.Domain.DomainVerificationUserState

Parameters

packageName
String

The app to query state for.

Returns

The user selection verification data for the given package for the user, or null if the package does not declare any HTTP/HTTPS domains.

Attributes

Remarks

Retrieve the user state for the given package and the Context's user.

Java documentation for android.content.pm.verify.domain.DomainVerificationManager.getDomainVerificationUserState(java.lang.String).

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