Language

CredentialProviderService Constructors

Definition

Overloads

Name Description
CredentialProviderService()

Creates a credential provider service instance.

CredentialProviderService(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

CredentialProviderService()

Creates a credential provider service instance.

[Android.Runtime.Register(".ctor", "()V", "", ApiSince=34)]
public CredentialProviderService();
Attributes

Remarks

This constructor is used by derived provider services. Declare the service with the android.service.credentials.CredentialProviderService intent action and require android.permission.BIND_CREDENTIAL_PROVIDER_SERVICE so that only the system can bind to it.

See the Android 16 service implementation.

Applies to

CredentialProviderService(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

protected CredentialProviderService(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Service.Credentials.CredentialProviderService : nativeint * Android.Runtime.JniHandleOwnership -> Android.Service.Credentials.CredentialProviderService

Parameters

javaReference
IntPtr

nativeint

A JNI reference to the Java object.

transfer
JniHandleOwnership

Specifies whether ownership of the JNI reference transfers to this instance.

Remarks

The runtime calls this constructor to create a managed representation of an existing Java object.

Applies to