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 |
|---|
PendingGetCredentialRequest( |
Public methods |
|
|---|---|
final @NonNull Function1<@NonNull GetCredentialResponse, Unit> |
the callback on which the final |
final @NonNull GetCredentialRequest |
the |
Public constructors
PendingGetCredentialRequest
public PendingGetCredentialRequest(
@NonNull GetCredentialRequest request,
@NonNull Function1<@NonNull GetCredentialResponse, Unit> callback
)
Public methods
getCallback
public final @NonNull Function1<@NonNull GetCredentialResponse, Unit> getCallback()
the callback on which the final GetCredentialResponse is returned, after the user has made its selections
getRequest
public final @NonNull GetCredentialRequest getRequest()
the GetCredentialRequest to be invoked when a given view on which this request is set is focused