MBMStylePackLoadProgress
@interface MBMStylePackLoadProgress : NSObject
A style pack load
progress includes information about
the number of resources that have completed downloading
and the total number of resources that are required.
-
Unavailable
Undocumented
Declaration
Objective-C
- (nonnull instancetype)init NS_UNAVAILABLE;
-
Unavailable
Undocumented
Declaration
Objective-C
+ (nonnull instancetype)new NS_UNAVAILABLE;
-
-initWithCompletedResourceCount:completedResourceSize:erroredResourceCount:requiredResourceCount:loadedResourceCount:loadedResourceSize:
Undocumented
Declaration
Objective-C
- (nonnull instancetype)initWithCompletedResourceCount:(uint64_t)completedResourceCount completedResourceSize:(uint64_t)completedResourceSize erroredResourceCount:(uint64_t)erroredResourceCount requiredResourceCount:(uint64_t)requiredResourceCount loadedResourceCount:(uint64_t)loadedResourceCount loadedResourceSize:(uint64_t)loadedResourceSize;
Swift
init(completedResourceCount: UInt64, completedResourceSize: UInt64, erroredResourceCount: UInt64, requiredResourceCount: UInt64, loadedResourceCount: UInt64, loadedResourceSize: UInt64)
-
The number of resources that are ready for offline access.
Declaration
Objective-C
@property (nonatomic, readonly) uint64_t completedResourceCount;
Swift
var completedResourceCount: UInt64 { get }
-
The cumulative size, in bytes, of all resources that are ready for offline access.
Declaration
Objective-C
@property (nonatomic, readonly) uint64_t completedResourceSize;
Swift
var completedResourceSize: UInt64 { get }
-
The number of resources that have failed to download due to an error.
Declaration
Objective-C
@property (nonatomic, readonly) uint64_t erroredResourceCount;
Swift
var erroredResourceCount: UInt64 { get }
-
The number of resources that are known to be required for this style package.
Declaration
Objective-C
@property (nonatomic, readonly) uint64_t requiredResourceCount;
Swift
var requiredResourceCount: UInt64 { get }
-
The number of resources that have been fully downloaded from the network.
Declaration
Objective-C
@property (nonatomic, readonly) uint64_t loadedResourceCount;
Swift
var loadedResourceCount: UInt64 { get }
-
The cumulative size, in bytes, of all resources that have been fully downloaded from the network.
Declaration
Objective-C
@property (nonatomic, readonly) uint64_t loadedResourceSize;
Swift
var loadedResourceSize: UInt64 { get }