다음을 통해 공유


CredentialProviderService.OnBeginCreateCredential Method

Definition

Called by the android system to create a credential.

[Android.Runtime.Register("onBeginCreateCredential", "(Landroid/service/credentials/BeginCreateCredentialRequest;Landroid/os/CancellationSignal;Landroid/os/OutcomeReceiver;)V", "GetOnBeginCreateCredential_Landroid_service_credentials_BeginCreateCredentialRequest_Landroid_os_CancellationSignal_Landroid_os_OutcomeReceiver_Handler", ApiSince=34)]
public abstract void OnBeginCreateCredential (Android.Service.Credentials.BeginCreateCredentialRequest request, Android.OS.CancellationSignal cancellationSignal, Android.OS.IOutcomeReceiver callback);
[<Android.Runtime.Register("onBeginCreateCredential", "(Landroid/service/credentials/BeginCreateCredentialRequest;Landroid/os/CancellationSignal;Landroid/os/OutcomeReceiver;)V", "GetOnBeginCreateCredential_Landroid_service_credentials_BeginCreateCredentialRequest_Landroid_os_CancellationSignal_Landroid_os_OutcomeReceiver_Handler", ApiSince=34)>]
abstract member OnBeginCreateCredential : Android.Service.Credentials.BeginCreateCredentialRequest * Android.OS.CancellationSignal * Android.OS.IOutcomeReceiver -> unit

Parameters

request
BeginCreateCredentialRequest

The credential creation request for the provider to handle.

cancellationSignal
CancellationSignal

Signal for providers to listen to any cancellation requests from the android system.

callback
IOutcomeReceiver

Object used to relay the response of the credential creation request.

Attributes

Remarks

Called by the android system to create a credential.

Java documentation for android.service.credentials.CredentialProviderService.onBeginCreateCredential(android.service.credentials.BeginCreateCredentialRequest, android.os.CancellationSignal, android.os.OutcomeReceiver<android.service.credentials.BeginCreateCredentialResponse, android.credentials.CreateCredentialException>).

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