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

Added in 1.2.0
abstract void onError(@NonNull E e)

onResult

Added in 1.2.0
abstract void onResult(@NonNull R result)