PlaybackTime

public struct PlaybackTime

Playback time information for AudioPlayerNode

  • The current time or nil if unknown

    Declaration

    Swift

    public let current: TimeInterval?
  • The total time or nil if unknown

    Declaration

    Swift

    public let total: TimeInterval?
  • Returns current as a fraction of total

    Declaration

    Swift

    public var progress: Double? { get }
  • Returns the time remaining

    Declaration

    Swift

    public var remaining: TimeInterval? { get }