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
start
start time, in seconds.
end
end time, in seconds.