PKMediaSource

@objc
public class PKMediaSource : NSObject

Undocumented

  • Undocumented

    See more

    Declaration

    Swift

    @objc
    public enum MediaFormat : Int
  • id

    Undocumented

    Declaration

    Swift

    @objc
    public var id: String
  • Undocumented

    Declaration

    Swift

    @objc
    public var contentUrl: URL? { get set }
  • Undocumented

    Declaration

    Swift

    @objc
    public var mimeType: String?
  • Undocumented

    Declaration

    Swift

    @objc
    public var drmData: [DRMParams]?
  • Undocumented

    Declaration

    Swift

    @objc
    public var mediaFormat: PKMediaSource.MediaFormat
  • Undocumented

    Declaration

    Swift

    @objc
    public convenience init(id: String)
  • Undocumented

    Declaration

    Swift

    @objc
    public init(_ id: String, contentUrl: URL?, mimeType: String? = nil, drmData: [DRMParams]? = nil, mediaFormat: MediaFormat = .unknown)
  • Undocumented

    Declaration

    Swift

    @objc
    public init(json: Any)
  • Undocumented

    Declaration

    Swift

    @objc
    override public var description: String { get }