Sdílet prostřednictvím


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

Returns

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