Track_Objc
@objc(THEOplayerTrack)
public protocol Track_ObjcA track object.
Remark
- Either a TextTrack or a MediaTrack.
- A specific track type (e.g. TextTrack) will always be used.
- 
                  
                  The kind of the track. Remark The values for this property depend on the specific type of the track.DeclarationSwift var kind: String { get }
- 
                  
                  The language of the track. Remark This is often an ISO639/2 language string.Example: "fra" for FrenchDeclarationSwift var language: String { get }Return ValueThe language of the track. 
- 
                  
                  The label of the track. Remark - An empty string if there is no track.
- When the label is an empty string, you should introduce a custom one.
 DeclarationSwift var label: String { get }
- 
                  
                  The identifier of the track. Remark This identifier can be used to destinguished between related tracks, e.g. tracks in the same list.DeclarationSwift var id: String { get }
- 
                  
                  A unique identifier of the track. Remark - This identifier is unique across tracks of a THEOplayer instance and can be used to distinguish between tracks.
- This identifier is a randomly generated number.
 DeclarationSwift var uid: Int { get }
- 
                  
                  Adds the given event listener of the given TextTrackEventType. Remark When attaching a listener on the wrong object the application will crash. DeclarationSwift @discardableResult func addEventListener(type: String, listener: @escaping (EventProtocol) -> ()) -> EventListenerParameterstypeTextTrackEventType 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 TextTrackEventType. DeclarationSwift func removeEventListener(type: String, listener: EventListener)ParameterstypeTextTrackEventType of the removed event listener. listenerEventListener object that has been return on addEventListener. 
 Track_Objc Protocol Reference
      Track_Objc Protocol Reference