Network_Objc
@objc(THEOplayerNetwork)
public protocol Network_ObjcThe Network API.
- 
                  
                  Adds the given event listener of the given type. Remark When attaching a listener on the wrong object the application will crash.Example: let eventListener = theoplayer.addEventListener(type: NetworkEventTypes.ERROR, listener: handlePlayEvent)DeclarationSwift @discardableResult func addEventListener(type: String, listener: @escaping (NetworkErrorEvent) -> ()) -> EventListenerParameterstypeEvent type of the added event listener. listenerClosure called when event is dispatched. Return ValueEventListener that can be removed. 
- 
                  
                  Removes the given event listener of the given type. Example: theoplayer.removeEventListener(type: NetworkEventTypes.ERROR, listener: eventListener)DeclarationSwift func removeEventListener(type: String, listener: EventListener)ParameterstypeEvent type of the removed event listener. listenerEventListener object that has been return on addEventListener. 
