TimeRange
@objc(THEOplayerTimeRange)
public class TimeRange : NSObject, Codable
Helps get information regarding a certain period in the playback.
-
The start time of the range.
Declaration
Swift
@objc public private(set) var start: Double { get } -
The end time of the range.
Declaration
Swift
@objc public private(set) var end: Double { get } -
Constructs a TimeRange object.
Declaration
Swift
@objc public init(start: Double, end: Double)Parameters
startstart time, in seconds.
endend time, in seconds.
TimeRange Class Reference