StorageTask.SnapshotBase

class StorageTask.SnapshotBase : StorageTask.ProvideError

Known direct subclasses
FileDownloadTask.TaskSnapshot

Encapsulates state about the running FileDownloadTask

StreamDownloadTask.TaskSnapshot

Encapsulates state about the running StreamDownloadTask

UploadTask.TaskSnapshot

Encapsulates state about the running UploadTask


Base class for state.

Summary

Public constructors

Public functions

StorageReference

Returns the target of the upload.

StorageTask<ResultT!>

Returns the StorageTask for this state.

Public properties

Exception!

Public constructors

SnapshotBase

SnapshotBase(error: Exception?)

Public functions

getStorage

fun getStorage(): StorageReference

Returns the target of the upload.

getTask

fun getTask(): StorageTask<ResultT!>

Returns the StorageTask for this state.

Public properties

error

val errorException!