Represents a progress update or a final state from loading bundles.
| enum | LoadBundleTaskProgress.TaskState | Represents the state of bundle loading tasks. | |
| boolean | |
| long |
getBytesLoaded()
Returns how many bytes have been loaded.
|
| int |
getDocumentsLoaded()
Returns how many documents have been loaded.
|
| Exception |
getException()
If the
LoadBundleTask failed, returns the exception. |
| LoadBundleTaskProgress.TaskState |
getTaskState()
Returns the current state of the
LoadBundleTask. |
| long |
getTotalBytes()
Returns the total number of bytes in the bundle.
|
| int |
getTotalDocuments()
Returns the total number of documents in the bundle.
|
| int |
hashCode()
|
Returns how many bytes have been loaded.
Returns how many documents have been loaded.
If the LoadBundleTask failed, returns the exception. Otherwise, returns null.
Returns the current state of the LoadBundleTask.
Returns the total number of bytes in the bundle. Returns 0 if the bundle failed to parse.
Returns the total number of documents in the bundle. Returns 0 if the bundle failed to parse.