NTPackageStatus
@interface NTPackageStatus : NSObject {
void *swigCPtr;
BOOL swigCMemOwn;
}
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.
-
Checks if this object is equal to the specified object.
Declaration
Objective-C
- (BOOL)isEqual:(id)object;
Parameters
object
The reference object.
Return Value
True when objects are equal, false otherwise.
-
Returns the hash value of this object.
Declaration
Objective-C
- (NSUInteger)hash;
Return Value
The hash value of this object.
-
Constructs a new status.
Declaration
Objective-C
- (id)initWithCurrentAction:(enum NTPackageAction)currentAction paused:(BOOL)paused progress:(float)progress;
Parameters
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)
-
Returns the current action being performed.
Declaration
Objective-C
- (enum NTPackageAction)getCurrentAction;
Return Value
The current action being performed.
-
Returns the paused state of the action.
Declaration
Objective-C
- (BOOL)isPaused;
Return Value
True when the action is paused, false if the action is active.
-
Returns the progress of the action.
Declaration
Objective-C
- (float)getProgress;
Return Value
The progress of the action (in the range 0..100)
-
Undocumented
Declaration
Objective-C
-(void)dealloc;