reference

expect fun reference(location: String): StorageReference(source)

Creates a new StorageReference initialized with a child Firebase Storage location.

Return

An instance of StorageReference at the given child path.

Parameters

location

A relative path from the root to initialize the reference with, for instance "path/to/object"


Creates a new StorageReference initialized at the root Firebase Storage location.

Return

An instance of StorageReference.