public class PackageStatus
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
swigCMemOwn |
| Constructor and Description |
|---|
PackageStatus(long cPtr,
boolean cMemoryOwn) |
PackageStatus(PackageAction currentAction,
boolean paused,
float progress)
Constructs a new status.
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
boolean |
equals(java.lang.Object obj)
Checks if this object is equal to the specified object.
|
protected void |
finalize() |
static long |
getCPtr(PackageStatus obj) |
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.
|
public PackageStatus(long cPtr,
boolean cMemoryOwn)
public PackageStatus(PackageAction currentAction, boolean paused, float progress)
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)public static long getCPtr(PackageStatus obj)
protected void finalize()
finalize in class java.lang.Objectpublic void delete()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic PackageAction getCurrentAction()
public boolean isPaused()
public float getProgress()