Language

BeginGetCredentialResponse.Builder.SetRemoteCredentialEntry Method

Definition

Sets a remote credential entry to be shown on the UI.

[Android.Runtime.Register("setRemoteCredentialEntry", "(Landroid/service/credentials/RemoteEntry;)Landroid/service/credentials/BeginGetCredentialResponse$Builder;", "", ApiSince=34)]
public Android.Service.Credentials.BeginGetCredentialResponse.Builder SetRemoteCredentialEntry(Android.Service.Credentials.RemoteEntry? remoteCredentialEntry);
[<Android.Runtime.Register("setRemoteCredentialEntry", "(Landroid/service/credentials/RemoteEntry;)Landroid/service/credentials/BeginGetCredentialResponse$Builder;", "", ApiSince=34)>]
member this.SetRemoteCredentialEntry : Android.Service.Credentials.RemoteEntry -> Android.Service.Credentials.BeginGetCredentialResponse.Builder

Parameters

remoteCredentialEntry
RemoteEntry

Returns

Attributes

Remarks

Sets a remote credential entry to be shown on the UI. Provider must set this if they wish to get the credential from a different device.

Note that as a provider service you will only be able to set a remote entry if: - Provider service possesses the Manifest.permission.PROVIDE_REMOTE_CREDENTIALS permission. - Provider service is configured as the provider that can provide remote entries. If the above conditions are not met, setting back BeginGetCredentialResponse on the callback from CredentialProviderService.onBeginGetCredential will throw a SecurityException. Requires Manifest.permission.PROVIDE_REMOTE_CREDENTIALS

Android reference for android.service.credentials.BeginGetCredentialResponse.Builder.setRemoteCredentialEntry.

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