Public types | |
---|---|
LoadBundleTaskState | enum Represents the state of bundle loading tasks. |
Properties | |
---|---|
BytesLoaded = 0 | long The number of bytes that have been loaded. |
DocumentsLoaded | int The number of documents that have been loaded. |
State = 0 | The current state of the loading progress. |
TotalBytes = 0 | long The total number of bytes in the bundle. |
TotalDocuments = 0 | int The total number of documents in the bundle. |
Public functions | |
---|---|
Equals(Object obj) | override bool |
GetHashCode() | override int |
LoadBundleTaskState
Represents 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.
longBytesLoaded=0
The number of bytes that have been loaded.
intDocumentsLoaded
The number of documents that have been loaded.
longTotalBytes=0
The total number of bytes in the bundle.
Zero if the bundle failed to parse.
intTotalDocuments=0
The total number of documents in the bundle.
Zero if the bundle failed to parse.
overrideboolEquals(Objectobj)
overrideintGetHashCode()
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 the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-07-20 UTC.