UploadTask

An upload to a StorageReference, as the Android SDK's UploadTask; TaskSnapshot reports its progress.

An upload to a StorageReference, as the Android SDK's UploadTask; TaskSnapshot reports its progress.

An upload to a StorageReference, as the Android SDK's UploadTask; TaskSnapshot reports its progress.

Types

Link copied to clipboard

The state of an upload; the upload session URL is the uploadSessionUri extension.

The state of an upload; the upload session URL is the uploadSessionUri extension.

The state of an upload; the upload session URL is the uploadSessionUri extension.

Properties

Link copied to clipboard
abstract override val exception: Exception?
expect abstract val exception: Exception?
abstract val exception: Exception?
Link copied to clipboard
abstract override val isCanceled: Boolean
expect abstract val isCanceled: Boolean
abstract val isCanceled: Boolean
Link copied to clipboard
abstract override val isComplete: Boolean
expect abstract val isComplete: Boolean
abstract val isComplete: Boolean
Link copied to clipboard
actual open override val isInProgress: Boolean

Whether the task is running (not complete, cancelled or paused).

expect open override val isInProgress: Boolean

Whether the task is running (not complete, cancelled or paused).

actual open override val isInProgress: Boolean

Whether the task is running (not complete, cancelled or paused).

Link copied to clipboard
actual open override val isPaused: Boolean

Whether the task is paused.

expect open override val isPaused: Boolean

Whether the task is paused.

actual open override val isPaused: Boolean

Whether the task is paused.

Link copied to clipboard
abstract override val isSuccessful: Boolean
expect abstract val isSuccessful: Boolean
abstract val isSuccessful: Boolean
Link copied to clipboard
abstract override val result: UploadTask.TaskSnapshot?
expect abstract val result: UploadTask.TaskSnapshot
Link copied to clipboard

The current state of the task, whether or not it is complete.

The current state of the task, whether or not it is complete.

The current state of the task, whether or not it is complete.

Link copied to clipboard

The progress and pauses of this task as a Flow, which completes with the task.

Functions

Link copied to clipboard

Adds a listener called with a snapshot when the task is paused.

Adds a listener called with a snapshot when the task is paused.

Adds a listener called with a snapshot when the task is paused.

Link copied to clipboard

Adds a listener called with a snapshot whenever progress is made.

Adds a listener called with a snapshot whenever progress is made.

Adds a listener called with a snapshot whenever progress is made.

Link copied to clipboard
actual open override fun cancel(): Boolean

Cancels the task; true if it was running.

expect open override fun cancel(): Boolean

Cancels the task; true if it was running.

actual open override fun cancel(): Boolean

Cancels the task; true if it was running.

Link copied to clipboard
Link copied to clipboard
actual open override fun pause(): Boolean

Pauses the task; true if it was running.

expect open override fun pause(): Boolean

Pauses the task; true if it was running.

actual open override fun pause(): Boolean

Pauses the task; true if it was running.

Link copied to clipboard
actual open override fun resume(): Boolean

Resumes the task; true if it was paused.

expect open override fun resume(): Boolean

Resumes the task; true if it was paused.

actual open override fun resume(): Boolean

Resumes the task; true if it was paused.