次の方法で共有


CredentialManager.IsEnabledCredentialProviderService(ComponentName) Method

Definition

Returns true if the calling application provides a CredentialProviderService that is enabled for the current user, or false otherwise.

[Android.Runtime.Register("isEnabledCredentialProviderService", "(Landroid/content/ComponentName;)Z", "", ApiSince=34)]
public bool IsEnabledCredentialProviderService (Android.Content.ComponentName componentName);
[<Android.Runtime.Register("isEnabledCredentialProviderService", "(Landroid/content/ComponentName;)Z", "", ApiSince=34)>]
member this.IsEnabledCredentialProviderService : Android.Content.ComponentName -> bool

Parameters

componentName
ComponentName

the component name to check is enabled

Returns

Attributes

Remarks

Returns true if the calling application provides a CredentialProviderService that is enabled for the current user, or false otherwise. CredentialProviderServices are enabled on a per-service basis so the individual component name of the service should be passed in here.

Java documentation for android.credentials.CredentialManager.isEnabledCredentialProviderService(android.content.ComponentName).

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