OnFailureListener

public interface OnFailureListener


Listener called when a Task fails with an exception.

Summary

Public methods

abstract void

Called when the Task fails with an exception.

Public methods

onFailure

abstract void onFailure(@NonNull Exception e)

Called when the Task fails with an exception.

Parameters
@NonNull Exception e

the exception that caused the Task to fail. Never null