Språk

PrepareGetCredentialResponse.HasCredentialResults(String) Method

Definition

Returns true if the user has any candidate credentials for the given credentialType, and false otherwise.

[Android.Runtime.Register("hasCredentialResults", "(Ljava/lang/String;)Z", "", ApiSince=34)]
[Android.Runtime.RequiresPermission("android.permission.CREDENTIAL_MANAGER_QUERY_CANDIDATE_CREDENTIALS")]
public bool HasCredentialResults(string credentialType);
[<Android.Runtime.Register("hasCredentialResults", "(Ljava/lang/String;)Z", "", ApiSince=34)>]
[<Android.Runtime.RequiresPermission("android.permission.CREDENTIAL_MANAGER_QUERY_CANDIDATE_CREDENTIALS")>]
member this.HasCredentialResults : string -> bool

Parameters

credentialType
String

The non-null credential type for which to check candidate results.

Returns

true if candidate credentials of the specified type are available; otherwise, false. This method requires android.permission.CREDENTIAL_MANAGER_QUERY_CANDIDATE_CREDENTIALS.

Attributes

Remarks

Returns true if the user has any candidate credentials for the given credentialType, and false otherwise.

Java documentation for android.credentials.PrepareGetCredentialResponse.hasCredentialResults(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