MBMSourceRemoved
@interface MBMSourceRemoved : NSObject
The source has been removed with removeStyleSource
method.
Note: The event is emitted synchronously; thus, getStyleSources
will be in
sync when the observer
receives the notification.
-
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 removed source.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nonnull) NSString *sourceId;
Swift
var sourceId: String { get }
-
The timestamp of source removal.
Declaration
Objective-C
@property (nonatomic, readonly, nonnull) NSDate *timestamp;
Swift
var timestamp: Date { get }