RelatedContent_Objc
@objc(THEOplayerRelatedContent)
public protocol RelatedContent_ObjcThe Related Content API can be used to show new content related to the current content.
- 
                  
                  List of the current RelatedContentSource.DeclarationSwift var sources: [RelatedContentSource] { get set }
- 
                  
                  Show the related content screen. DeclarationSwift func show()
- 
                  
                  Hide the related content screen. DeclarationSwift func hide()
- 
                  
                  Whether the related content screen is showing. DeclarationSwift var showing: Bool { get }
- 
                  
                  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 (RelatedContentEvent) -> ()) -> EventListenerParameterstypeEventTypeof the added event listener. SeeRelatedContentEventTypesfor 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. SeeRelatedContentEventTypesfor possible values.listenerEventListenerwhich was added byaddEventListener(...).
 RelatedContent_Objc Protocol Reference
      RelatedContent_Objc Protocol Reference