useEmulator

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

Modifies this FirebaseStorage instance to communicate with the Storage emulator.

Note: Call this method before using the instance to do any storage 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)