MBMStyleDataLoaded
@interface MBMStyleDataLoaded : NSObject
The style data has been loaded. The event will be emitted once for each StyleDataLoadedType
type during style loading. If a new style is set, events will be emitted again for the newly set style.
Note: The event may be emitted synchronously, for example, when setStyleJSON
is used to load style.
-
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)initWithType:(MBMStyleDataLoadedType)type timeInterval:(nonnull MBMEventTimeInterval *)timeInterval;Swift
init(type: StyleDataLoadedType, timeInterval: MBMEventTimeInterval) -
The type of loaded style data.
Declaration
Objective-C
@property (nonatomic, readonly) MBMStyleDataLoadedType type;Swift
var type: StyleDataLoadedType { get } -
The
timeInterval.beginis when style data begins loading, and thetimeInterval.endis when style data is loaded.Declaration
Objective-C
@property (nonatomic, readonly, nonnull) MBMEventTimeInterval *timeInterval;Swift
var timeInterval: MBMEventTimeInterval { get }
MBMStyleDataLoaded Class Reference