public interface

EventTarget

com.google.firebase.database.EventTarget

Class Overview

This interface defines the operations required for the Firebase Database library to fire callbacks. Most users should not need this interface, it is only applicable if you are customizing the way in which callbacks are triggered.

See DatabaseConfig for more information

Summary

Public Methods
abstract void postEvent(Runnable r)
This method will be called from the library's event loop whenever there is a new callback to be triggered.
abstract void restart()
abstract void shutdown()

Public Methods

public abstract void postEvent (Runnable r)

This method will be called from the library's event loop whenever there is a new callback to be triggered.

Parameters
r The callback to be run

public abstract void restart ()

public abstract void shutdown ()