Stay organized with collections Save and categorize content based on your preferences.

CredentialManagerCallback

public interface CredentialManagerCallback<R extends Object, E extends Object>


Callback interface intended for use when an asynchronous Credential Manager operation may result in a failure.

This interface may be used in cases where an asynchronous Credential Manager API may complete either with a value, or an exception.

Parameters
<R extends Object>

the type of the result that's being sent

<E extends Object>

the type of the exception being returned

Summary

Public methods

abstract void
abstract void
onResult(@NonNull R result)

Public methods

onError

abstract void onError(@NonNull E e)

onResult

abstract void onResult(@NonNull R result)