Firebase. Firestore. LoadBundleTaskProgress
Summary
Inheritance
Inherits from: EventArgsConstructors and Destructors | |
|---|---|
LoadBundleTaskProgress(int documentsLoaded, int totalDocuments, long bytesLoaded, long totalBytes,LoadBundleTaskState state)Creates a new instance of the class. |
Public types | |
|---|---|
LoadBundleTaskState | enum Represents the state of bundle loading tasks. |
Properties | |
|---|---|
BytesLoaded = 0 | longThe number of bytes that have been loaded. |
DocumentsLoaded | intThe number of documents that have been loaded. |
State = 0 | The current state of the loading progress. |
TotalBytes = 0 | longThe total number of bytes in the bundle. |
TotalDocuments = 0 | intThe total number of documents in the bundle. |
Public functions | |
|---|---|
Equals(Object obj) | override bool |
GetHashCode() | override int |
Public types
LoadBundleTaskState
LoadBundleTaskStateRepresents the state of bundle loading tasks.
Both LoadBundleTaskState.Success and LoadBundleTaskState.Error are final states: the task will fail or complete and there will be no more updates after they are reported.
Properties
BytesLoaded
longBytesLoaded=0
The number of bytes that have been loaded.
DocumentsLoaded
intDocumentsLoaded
The number of documents that have been loaded.
TotalBytes
longTotalBytes=0
The total number of bytes in the bundle.
Zero if the bundle failed to parse.
TotalDocuments
intTotalDocuments=0
The total number of documents in the bundle.
Zero if the bundle failed to parse.
Public functions
Equals
overrideboolEquals(Objectobj)
GetHashCode
overrideintGetHashCode()
LoadBundleTaskProgress
LoadBundleTaskProgress(intdocumentsLoaded,inttotalDocuments,longbytesLoaded,longtotalBytes,LoadBundleTaskStatestate)
Creates a new instance of the class.
This is to support testing against progress updates.
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 2021-07-20 UTC.