Package-level declarations
Types
A change to a child of a location, emitted by Query.childEvents.
Receives the changes to the children of a location; see Query.addChildEventListener.
A failed operation or cancelled listener, as the Android SDK's DatabaseError; code is one of the constants.
A failed operation or cancelled listener, as the Android SDK's DatabaseError; code is one of the constants.
A failed operation or cancelled listener, as the Android SDK's DatabaseError; code is one of the constants.
Thrown when an operation on the database fails, as the Android SDK's DatabaseException.
Thrown when an operation on the database fails, as the Android SDK's DatabaseException.
Thrown when an operation on the database fails, as the Android SDK's DatabaseException.
A location in the database that can be read and written, as the Android SDK's DatabaseReference. Values are the platform's natural types: Map, List, String, Boolean, Long and Double (and the platform SDK's own types on Apple platforms and JS); custom classes are not mapped outside Android.
A location in the database that can be read and written, as the Android SDK's DatabaseReference. Values are the platform's natural types: Map, List, String, Boolean, Long and Double (and the platform SDK's own types on Apple platforms and JS); custom classes are not mapped outside Android.
An immutable copy of the data at a location, as the Android SDK's DataSnapshot. value is the natural type of the data: a Map, a List, a String, a Boolean, a Long, a Double or null. Mapping to custom classes through getValue(Class) is Android-only; the GenericTypeIndicator form casts the value on the other platforms.
An immutable copy of the data at a location, as the Android SDK's DataSnapshot. value is the natural type of the data: a Map, a List, a String, a Boolean, a Long, a Double or null. Mapping to custom classes through getValue(Class) is Android-only; the GenericTypeIndicator form casts the value on the other platforms.
Excludes a property from the Android SDK's mapping.
The entry point of the Realtime Database, as the Android SDK's com.google.firebase.database.FirebaseDatabase. Persistence settings are accepted on every platform (the JS SDK has no disk persistence, so they are ignored there).
The entry point of the Realtime Database, as the Android SDK's com.google.firebase.database.FirebaseDatabase. Persistence settings are accepted on every platform (the JS SDK has no disk persistence, so they are ignored there).
Names the type T a value is mapped to, as the Android SDK's GenericTypeIndicator, for getValue calls such as snapshot.getValue(object : GenericTypeIndicator<Map<String, Long>>() {}).
Makes the Android SDK's mapper ignore properties of the data that the class does not have.
The logging of the Realtime Database, as the Android SDK's Logger; Level is passed to FirebaseDatabase.setLogLevel.
The data of a location inside a transaction, as the Android SDK's MutableData: value is read and then set to the new data before the Transaction.Handler returns Transaction.success.
The data of a location inside a transaction, as the Android SDK's MutableData: value is read and then set to the new data before the Transaction.Handler returns Transaction.success.
The data of a transaction as a JS value tree: the JS SDK's transaction receives the current value and returns the new one, so root holds the value being edited and each child refers to a path in it.
The data of a transaction as a JS value tree: the JS SDK's transaction receives the current value and returns the new one, so root holds the value being edited and each child refers to a path in it.
Writes the server applies when this client disconnects, as the Android SDK's OnDisconnect; obtained from DatabaseReference.onDisconnect. Each operation completes once the server has registered it.
Writes the server applies when this client disconnects, as the Android SDK's OnDisconnect; obtained from DatabaseReference.onDisconnect. Each operation completes once the server has registered it.
The name of a property in the database, when it differs from the member's name.
A read of a location with ordering and filtering, as the Android SDK's Query. Listeners are called on the thread the platform SDK delivers events on. keepSynced is in nonJsMain (the JS SDK has no equivalent).
A read of a location with ordering and filtering, as the Android SDK's Query. Listeners are called on the thread the platform SDK delivers events on. keepSynced is in nonJsMain (the JS SDK has no equivalent).
Values the server computes on write, as the Android SDK's ServerValue; each is written like any other value.
Values the server computes on write, as the Android SDK's ServerValue; each is written like any other value.
The server values as the .sv maps the platform SDKs and the backend understand.
Makes the Android SDK's mapper fail on properties of the data that the class does not have.
A transaction on a location, as the Android SDK's Transaction: Handler.doTransaction returns success or abort.
A transaction on a location, as the Android SDK's Transaction: Handler.doTransaction returns success or abort.
A transaction on a location, as the Android SDK's Transaction: Handler.doTransaction returns success or abort.
Receives the data at a location and its changes; see Query.addValueEventListener.
Properties
The changes to the children of this location as a Flow, which fails if the listener is cancelled.
The FirebaseDatabase of the default FirebaseApp; the Android SDK's Firebase.database.
The data at this location and every change to it as a Flow, which fails if the listener is cancelled.
Functions
The FirebaseDatabase of app.
The FirebaseDatabase of the default FirebaseApp at url.
The FirebaseDatabase of app at url.
The data as T, as the Android SDK's reified getValue; on Apple platforms and JS a cast of DataSnapshot.value.
The data as T, as the Android SDK's reified getValue; on Apple platforms and JS a cast of MutableData.value.