MSFPackageStatus
Objective-C
@interface MSFPackageStatus : NSObject {
void *swigCPtr;
BOOL swigCMemOwn;
}
Swift
class MSFPackageStatus : NSObject
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;Swift
func isEqual(_ object: Any!) -> BoolParameters
objectThe reference object.
Return Value
True when objects are equal, false otherwise.
-
Returns the hash value of this object.
Declaration
Objective-C
- (NSUInteger)hash;Swift
func hash() -> UIntReturn Value
The hash value of this object.
-
Constructs a new status.
Declaration
Objective-C
- (id)initWithCurrentAction:(enum MSFPackageAction)currentAction paused:(BOOL)paused progress:(float)progress;Swift
init!(currentAction: MSFPackageAction, paused: Bool, progress: Float)Parameters
currentActionThe current action being performed with the package.
pausedTrue if the action is paused.
progressThe progress of the operation (in the range 0..100)
-
Returns the current action being performed.
Declaration
Objective-C
- (enum MSFPackageAction)getCurrentAction;Swift
func getCurrentAction() -> MSFPackageActionReturn Value
The current action being performed.
-
Returns the paused state of the action.
Declaration
Objective-C
- (BOOL)isPaused;Swift
func isPaused() -> BoolReturn Value
True when the action is paused, false if the action is active.
-
Returns the progress of the action.
Declaration
Objective-C
- (float)getProgress;Swift
func getProgress() -> FloatReturn Value
The progress of the action (in the range 0..100)
-
Undocumented
Declaration
Objective-C
-(void)dealloc;Swift
func dealloc()