PKPercentageTimeBoundary

@objc
public class PKPercentageTimeBoundary : NSObject, PKBoundary

PKPercentageTimeBoundary represents a time boundary in % against the media duration.

  • The time to set the boundary on.

    Declaration

    Swift

    public let time: TimeInterval
  • Creates a new PKPercentageTimeBoundary object from %.

    Attention

    boundary value should be between 1 and 100 otherwise will use default values!

    Declaration

    Swift

    @objc
    public init(boundary: Int, duration: TimeInterval)