Language

CredentialProviderService.OnBeginGetCredential メソッド

定義

接続されたプロバイダー サービスからユーザー資格情報を取得するために Android システムによって呼び出されます。

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

パラメーター

request
BeginGetCredentialRequest

プロバイダーが処理するための要求

cancellationSignal
CancellationSignal

プロバイダーが Android システムからのキャンセル要求をリッスンするためのシグナル

callback
IOutcomeReceiver

資格情報要求の応答をリレーするために使用されるオブジェクト

属性

注釈

接続されたプロバイダー サービスからユーザー資格情報を取得するために Android システムによって呼び出されます。

この API は、特定の資格情報プロバイダーからユーザーの資格情報を取得するためのクエリ ステージ要求を表します。 要求には、BeginGetCredentialResponseに設定するCredentialEntryの一覧として、候補の資格情報を設定するために使用するパラメーターを持つBeginGetCredentialOptionの一覧が含まれています。 このリストは、セレクターのユーザーに表示されます。

PendingIntentがCredentialEntryに設定されていて、ユーザーがそのエントリを選択すると、実際のandroid.credentials.Credentialを取得するために必要なすべてのパラメーターを含むGetCredentialRequestが、PendingIntentを介して発生したIntentの一部として送信されます。

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象