SubtitleChangedEvent
@objc(BMPSubtitleChangedEvent)
@objcMembers
open class SubtitleChangedEvent : NSObject, SourceEvent, @unchecked Sendable
See PlayerListener
for more information on this event.
-
Declaration
Swift
public let name: String
-
Declaration
Swift
public let timestamp: TimeInterval
-
The track that was previously selected.
Declaration
Swift
public let subtitleTrackOld: SubtitleTrack?
-
The track that is selected now
Declaration
Swift
public let subtitleTrackNew: SubtitleTrack?
-
Declaration
Swift
public init( newSubtitleTrack: SubtitleTrack?, oldSubtitleTrack: SubtitleTrack? )