useEmulator

actual fun useEmulator(host: String, port: Int)(source)
expect fun useEmulator(host: String, port: Int)(source)

Modifies this FirebaseDatabase instance to communicate with the Realtime Database emulator.

Note: Call this method before using the instance to do any database operations.

Parameters

host

the emulator host (for example, 10.0.2.2)

port

the emulator port (for example, 9000)

actual fun useEmulator(host: String, port: Int)(source)
actual fun useEmulator(host: String, port: Int)(source)
actual fun useEmulator(host: String, port: Int)(source)