java.lang.Object | |
↳ | com.carto.packagemanager.PackageStatus |
The status of the map package. This includes information whether the package is ready, queued for processing, downloading, etc.
Also it contains information if the package processing is paused and about the progress.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
PackageStatus(PackageAction currentAction, boolean paused, float progress)
Constructs a new status.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
synchronized void | delete() | ||||||||||
boolean |
equals(Object obj)
Checks if this object is equal to the specified object.
| ||||||||||
PackageAction |
getCurrentAction()
Returns the current action being performed.
| ||||||||||
float |
getProgress()
Returns the progress of the action.
| ||||||||||
int |
hashCode()
Returns the hash value of this object.
| ||||||||||
boolean |
isPaused()
Returns the paused state of the action.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Constructs a new status.
currentAction | The current action being performed with the package. |
---|---|
paused | True if the action is paused. |
progress | The progress of the operation (in the range 0..100) |
Checks if this object is equal to the specified object.
obj | The reference object. |
---|
Returns the current action being performed.
Returns the progress of the action.
Returns the hash value of this object.
Returns the paused state of the action.