EventListener | Doclava
public interface

EventListener

com.google.firebase.firestore.EventListener<T>

Class Overview

An interface for event listeners.

Summary

Public Methods
abstract void onEvent(T value, FirebaseFirestoreException error)
onEvent will be called with the new value or the error if an error occurred.

Public Methods

public abstract void onEvent (T value, FirebaseFirestoreException error)

onEvent will be called with the new value or the error if an error occurred. It's guaranteed that exactly one of value or error will be non-null.

Parameters
value T:The value of the event. null if there was an error.

error FirebaseFirestoreException:The error if there was error. null otherwise.