SourceEventsApi
@objc(BMPSourceEventsApi)
public class SourceEventsApi : NSObject
The Obj-C version of the source events API. It is empty on purpose as Combine-based event subscriptions can only be used from Swift.
-
Returns a publisher for the specified
SourceEventtype that occurs on thisSource. It publishes all events for this source with the specified type. This publisher can never fail.Declaration
Swift
func on<T>(_ eventType: T.Type) -> AnyPublisher<T, Never> where T : SourceEventParameters
eventTypetype of the event
Return Value
publisher for the given
SourceEventtype.
SourceEventsApi Class Reference