OnDisconnect

actual class OnDisconnect(source)

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.

actual class OnDisconnect(source)
expect class OnDisconnect(source)

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.

actual class OnDisconnect(source)
actual class OnDisconnect(source)

Properties

Link copied to clipboard
val ios: FIRDatabaseReference

The underlying Firebase iOS SDK reference the operations are registered on.

Link copied to clipboard

The underlying Firebase JS SDK object.

The underlying Firebase JS SDK object.

Link copied to clipboard

The reference the operations are registered on.

The reference the operations are registered on.

Functions

Link copied to clipboard
actual fun cancel(): Task<Nothing?>

Cancels every disconnect operation registered for the location.

actual fun cancel(): Task<Nothing?>

Cancels every disconnect operation registered for the location.

expect fun cancel(): Task<Nothing?>

Cancels every disconnect operation registered for the location.

actual fun cancel(): Task<Nothing?>

Cancels every disconnect operation registered for the location.

actual fun cancel(): Task<Nothing?>

Cancels every disconnect operation registered for the location.

Link copied to clipboard
actual fun removeValue(): Task<Nothing?>

Deletes the data at the location on disconnect.

actual fun removeValue(): Task<Nothing?>

Deletes the data at the location on disconnect.

expect fun removeValue(): Task<Nothing?>

Deletes the data at the location on disconnect.

actual fun removeValue(): Task<Nothing?>

Deletes the data at the location on disconnect.

actual fun removeValue(): Task<Nothing?>

Deletes the data at the location on disconnect.

Link copied to clipboard
actual fun setValue(value: Any?): Task<Nothing?>

Writes value at the location on disconnect; null deletes it.

actual fun setValue(value: Any?, listener: DatabaseReference.CompletionListener?)
actual fun setValue(value: Any?, priority: Double, listener: DatabaseReference.CompletionListener?)
actual fun setValue(value: Any?, priority: String?, listener: DatabaseReference.CompletionListener?)

actual fun setValue(value: Any?, priority: Double): Task<Nothing?>

Writes value with a numeric priority on disconnect.

actual fun setValue(value: Any?, priority: String?): Task<Nothing?>

Writes value with a String priority on disconnect.

actual fun setValue(value: Any?, priority: Map<*, *>?, listener: DatabaseReference.CompletionListener?)

Writes value with a priority given as a map on disconnect.

actual fun setValue(value: Any?): Task<Nothing?>

Writes value at the location on disconnect; null deletes it.

actual fun setValue(value: Any?, listener: DatabaseReference.CompletionListener?)
actual fun setValue(value: Any?, priority: Double, listener: DatabaseReference.CompletionListener?)
actual fun setValue(value: Any?, priority: String?, listener: DatabaseReference.CompletionListener?)

actual fun setValue(value: Any?, priority: Double): Task<Nothing?>

Writes value with a numeric priority on disconnect.

actual fun setValue(value: Any?, priority: String?): Task<Nothing?>

Writes value with a String priority on disconnect.

actual fun setValue(value: Any?, priority: Map<*, *>?, listener: DatabaseReference.CompletionListener?)

Writes value with a priority given as a map on disconnect.

expect fun setValue(value: Any?): Task<Nothing?>

Writes value at the location on disconnect; null deletes it.

expect fun setValue(value: Any?, listener: DatabaseReference.CompletionListener?)
expect fun setValue(value: Any?, priority: Double, listener: DatabaseReference.CompletionListener?)
expect fun setValue(value: Any?, priority: String?, listener: DatabaseReference.CompletionListener?)

expect fun setValue(value: Any?, priority: Double): Task<Nothing?>

Writes value with a numeric priority on disconnect.

expect fun setValue(value: Any?, priority: String?): Task<Nothing?>

Writes value with a String priority on disconnect.

expect fun setValue(value: Any?, priority: Map<*, *>?, listener: DatabaseReference.CompletionListener?)

Writes value with a priority given as a map on disconnect.

actual fun setValue(value: Any?): Task<Nothing?>

Writes value at the location on disconnect; null deletes it.

actual fun setValue(value: Any?, listener: DatabaseReference.CompletionListener?)
actual fun setValue(value: Any?, priority: Double, listener: DatabaseReference.CompletionListener?)
actual fun setValue(value: Any?, priority: String?, listener: DatabaseReference.CompletionListener?)

actual fun setValue(value: Any?, priority: Double): Task<Nothing?>

Writes value with a numeric priority on disconnect.

actual fun setValue(value: Any?, priority: String?): Task<Nothing?>

Writes value with a String priority on disconnect.

actual fun setValue(value: Any?, priority: Map<*, *>?, listener: DatabaseReference.CompletionListener?)

Writes value with a priority given as a map on disconnect.

actual fun setValue(value: Any?): Task<Nothing?>

Writes value at the location on disconnect; null deletes it.

actual fun setValue(value: Any?, listener: DatabaseReference.CompletionListener?)
actual fun setValue(value: Any?, priority: Double, listener: DatabaseReference.CompletionListener?)
actual fun setValue(value: Any?, priority: String?, listener: DatabaseReference.CompletionListener?)

actual fun setValue(value: Any?, priority: Double): Task<Nothing?>

Writes value with a numeric priority on disconnect.

actual fun setValue(value: Any?, priority: String?): Task<Nothing?>

Writes value with a String priority on disconnect.

actual fun setValue(value: Any?, priority: Map<*, *>?, listener: DatabaseReference.CompletionListener?)

Writes value with a priority given as a map on disconnect.

Link copied to clipboard
actual fun updateChildren(update: Map<String, Any?>): Task<Nothing?>

Writes the children in update on disconnect (see DatabaseReference.updateChildren).

actual fun updateChildren(update: Map<String, Any?>): Task<Nothing?>

Writes the children in update on disconnect (see DatabaseReference.updateChildren).

expect fun updateChildren(update: Map<String, Any?>): Task<Nothing?>

Writes the children in update on disconnect (see DatabaseReference.updateChildren).

actual fun updateChildren(update: Map<String, Any?>): Task<Nothing?>

Writes the children in update on disconnect (see DatabaseReference.updateChildren).

actual fun updateChildren(update: Map<String, Any?>): Task<Nothing?>

Writes the children in update on disconnect (see DatabaseReference.updateChildren).