MBMStyleImageRemoveUnused
@interface MBMStyleImageRemoveUnused : NSObject
An image requested by the map
through the StyleImageMissing
event is no longer
needed and can be removed using the removeStyleImage
method. The application can
decide whether the image should be kept or removed.
Note: If there are no subscribers for the StyleImageRemoveUnused
event, the map
will automatically remove the unused image.
-
Unavailable
Undocumented
Declaration
Objective-C
- (nonnull instancetype)init NS_UNAVAILABLE;
-
Unavailable
Undocumented
Declaration
Objective-C
+ (nonnull instancetype)new NS_UNAVAILABLE;
-
Undocumented
Declaration
Objective-C
- (nonnull instancetype)initWithImageId:(nonnull NSString *)imageId timestamp:(nonnull NSDate *)timestamp;
Swift
init(imageId: String, timestamp: Date)
-
The identifier of an image that is not used by the
map
.Declaration
Objective-C
@property (nonatomic, copy, readonly, nonnull) NSString *imageId;
Swift
var imageId: String { get }
-
The timestamp of an event when the
map
no longer needs a previously added image.Declaration
Objective-C
@property (nonatomic, readonly, nonnull) NSDate *timestamp;
Swift
var timestamp: Date { get }