PendingGetCredentialRequest


public final class PendingGetCredentialRequest


Request to be set on an Android View, which will be invoked when the View is focused/clicked by the user.

Note that the callback only handles a final GetCredentialResponse and no errors are propagated to the callback.

See View.setPendingCredentialRequest for details on how this request will be used.

Summary

Public constructors

Public methods

final @NonNull Function1<@NonNull GetCredentialResponseUnit>

the callback on which the final GetCredentialResponse is returned, after the user has made its selections

final @NonNull GetCredentialRequest

the GetCredentialRequest to be invoked when a given view on which this request is set is focused

Public constructors

PendingGetCredentialRequest

Added in 1.5.0-beta01
public PendingGetCredentialRequest(
    @NonNull GetCredentialRequest request,
    @NonNull Function1<@NonNull GetCredentialResponseUnit> callback
)

Public methods

getCallback

Added in 1.5.0-beta01
public final @NonNull Function1<@NonNull GetCredentialResponseUnitgetCallback()

the callback on which the final GetCredentialResponse is returned, after the user has made its selections

getRequest

Added in 1.5.0-beta01
public final @NonNull GetCredentialRequest getRequest()

the GetCredentialRequest to be invoked when a given view on which this request is set is focused