Yospace_Objc
@objc(THEOplayerYospace)
public protocol Yospace_ObjcAPI for the Yospace pre-integration.
- 
                  
                  Adds the event listener of the given EventType.Remark When attaching a listener on the wrong object the application will crash. DeclarationSwift @discardableResult func addEventListener(type: String, listener: @escaping (YospaceEvent) -> ()) -> EventListenerParameterstypeEventTypeof the added event listener. SeeYospaceEventTypesfor possible values.listenerClosure called when event is dispatched. Return ValueThe newly added EventListener.
- 
                  
                  Removes the event listener for the given EventType.DeclarationSwift func removeEventListener(type: String, listener: EventListener)ParameterstypeEventTypeof the event listener to be removed. SeeYospaceEventTypesfor possible values.listenerEventListener which was added byaddEventListener(…)`.
 Yospace_Objc Protocol Reference
      Yospace_Objc Protocol Reference