TaskState

public abstract classTaskState<T extends Object>

Known direct subclasses
TaskState.InProgress

Called periodically as data is transferred and can be used to populate an upload/download indicator.

TaskState.Paused

Called any time the upload/download is paused.


Used to emit events about the progress of storage tasks.

Summary

Nested types

public final classTaskState.InProgress<T extends Object> extendsTaskState

Called periodically as data is transferred and can be used to populate an upload/download indicator.

public final classTaskState.Paused<T extends Object> extendsTaskState

Called any time the upload/download is paused.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-07-21 UTC.