MSFTileDownloadInfo

Objective-C


@interface MSFTileDownloadInfo : NSObject {
  void *swigCPtr;
  BOOL swigCMemOwn;
}

Swift

class MSFTileDownloadInfo : NSObject

What a tile download reports, as one object.

A listener has four callbacks with four different arguments; a facade event carries a payload, and one payload class over the four is what lets a binding subscribe to “the download” rather than to each of them. Only the fields the event in question fills are meaningful - progress on download.progress, tile on download.failed.

  • 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.

  • Returns the number of tiles the download will fetch.

    Declaration

    Objective-C

    - (int)getTileCount;

    Swift

    func getTileCount() -> Int32

    Return Value

    The tile count, or -1 when it is not known yet.

  • Returns the progress of the download.

    Declaration

    Objective-C

    - (float)getProgress;

    Swift

    func getProgress() -> Float

    Return Value

    The progress, from 0 to 100.

  • Returns the tile the event concerns, which is only meaningful for a failure.

    Declaration

    Objective-C

    - (MSFMapTile *)getTile;

    Swift

    func getTile() -> MSFMapTile!

    Return Value

    The tile.

  • Creates a string representation of this object, useful for logging.

    Declaration

    Objective-C

    - (NSString *)description;

    Swift

    func description() -> String!

    Return Value

    The string representation of this object.

  • Undocumented

    Declaration

    Objective-C

    -(void)dealloc;

    Swift

    func dealloc()