TextTrackCue_Objc
@objc(THEOplayerTextTrackCue)
public protocol TextTrackCue_ObjcA TextTrackCue object represents an individual cue and provides methods and properties to access the data and events to act on changes to cue state. Depending on the TextTrack’s type, a cue might have different properties.
- 
                  
                  The cue’s content. Remark - The type depends of the cue type.
 DeclarationSwift var content: Any? { get }
- 
                  
                  If the cue’s type is WebVtt, the contentString is used. It contains the text track cue text in raw unparsed form. DeclarationSwift var contentString: String? { get }
- 
                  
                  If the cue’s type is WebVtt, the contentDictionary is used. It contains the text track cue info in a dictionary. DeclarationSwift var contentDictionary: [String : String]? { get }
- 
                  
                  The time in seconds and relative to a THEOplayer instance’s currentTime at which the cue becomes inactive. Remark - Supports double-precision floating-point format.
 DeclarationSwift @objc(endTime) var endTime_Objc: NSNumber? { get }
- 
                  
                  The cue’s unique ID. DeclarationSwift var id: String { get }
- 
                  
                  The time in seconds and relative to a THEOplayer instance’s currentTime at which the cue becomes active. Remark - Supports double-precision floating-point format.
 DeclarationSwift @objc(startTime) var startTime_Objc: NSNumber? { get }
- 
                  
                  The track the given cue belongs to. DeclarationSwift @objc(track) var track_Objc: TextTrack_Objc? { get }
- 
                  
                  Adds the given event listener of the given TextTrackCueEventType. Remark When attaching a listener on the wrong object the application will crash. DeclarationSwift @discardableResult func addEventListener(type: String, listener: @escaping (CueEventProtocol_Objc) -> ()) -> EventListenerParameterstypeTextTrackCueEventType 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 TextTrackCueEventType. DeclarationSwift func removeEventListener(type: String, listener: EventListener)ParameterstypeTextTrackCueEventType of the removed event listener. listenerEventListener object that has been return on addEventListener. 
 TextTrackCue_Objc Protocol Reference
      TextTrackCue_Objc Protocol Reference