MBMSourceAdded
@interface MBMSourceAdded : NSObject
The source has been added with addStyleSource
method.
Note: The event is emitted synchronously; therefore, it is possible to read added source’s properties immediately.
-
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)initWithSourceId:(nonnull NSString *)sourceId timestamp:(nonnull NSDate *)timestamp;
Swift
init(sourceId: String, timestamp: Date)
-
The source identifier of added source.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nonnull) NSString *sourceId;
Swift
var sourceId: String { get }
-
The timestamp of source addition.
Declaration
Objective-C
@property (nonatomic, readonly, nonnull) NSDate *timestamp;
Swift
var timestamp: Date { get }