FirebaseClient

public interface FirebaseClient

A client which operates on values in the Firebase database.

The implementations are meant to work in "one client per database" format.

Inheritors

Functions

Link copied to clipboard
public abstract void create(NodePath nodePath, NodeValue value)
Writes the specified value to the Firebase database node.
Link copied to clipboard
public abstract void delete(NodePath nodePath)
Deletes the node under the given path.
Link copied to clipboard
public abstract Optional<NodeValue> fetchNode(NodePath nodePath)
Retrieves the value of the specified Firebase database node.
Link copied to clipboard
public abstract void subscribeTo(NodePath nodePath, ChildEventListener listener)
Subscribes to the child events of the given node.
Link copied to clipboard
public abstract void update(NodePath nodePath, NodeValue value)
Merges the specified value to the Firebase database node.