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!) -> Bool

    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;

    Swift

    func hash() -> UInt

    Return 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

    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 MSFPackageAction)getCurrentAction;

    Swift

    func getCurrentAction() -> MSFPackageAction

    Return Value

    The current action being performed.

  • Returns the paused state of the action.

    Declaration

    Objective-C

    - (BOOL)isPaused;

    Swift

    func isPaused() -> Bool

    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;

    Swift

    func getProgress() -> Float

    Return Value

    The progress of the action (in the range 0..100)

  • Undocumented

    Declaration

    Objective-C

    -(void)dealloc;

    Swift

    func dealloc()