JWTimeData

@objcMembers
public class JWTimeData : NSObject

Defines time information.

  • A time expressed in seconds within a maxmium value of duration .

    Declaration

    Swift

    public var position: TimeInterval
  • The total time expressed in seconds.

    Declaration

    Swift

    public var duration: TimeInterval
  • The number of seconds of content buffered ahead of the current playback position. A value of -1 indicates that buffer health data is not available. For live streams where duration is not meaningful, this provides a reliable measure of buffer health.

    Declaration

    Swift

    public var bufferHealth: TimeInterval
  • Undocumented

    Declaration

    Swift

    public override func isEqual(_ object: Any?) -> Bool
  • Undocumented

    Declaration

    Swift

    public override var hash: Int { get }