MockMediaEntryProvider

@objc
public class MockMediaEntryProvider : NSObject, MediaEntryProvider

Undocumented

  • Undocumented

    See more

    Declaration

    Swift

    public enum MockError : Error
  • id

    Undocumented

    Declaration

    Swift

    @objc
    public var id: String?
  • url

    Undocumented

    Declaration

    Swift

    @objc
    public var url: URL?
  • Undocumented

    Declaration

    Swift

    @objc
    public var content: Any?
  • Undocumented

    Declaration

    Swift

    @discardableResult
    @nonobjc
    public func set(id: String?) -> Self
  • Undocumented

    Declaration

    Swift

    @discardableResult
    @nonobjc
    public func set(url: URL?) -> Self
  • Undocumented

    Declaration

    Swift

    @discardableResult
    @nonobjc
    public func set(content: Any?) -> Self
  • Undocumented

    Declaration

    Swift

    public override init()
  • Declaration

    Swift

    @objc
    public func loadMedia(callback: @escaping (PKMediaEntry?, Error?) -> Void)
  • Undocumented

    Declaration

    Swift

    @objc
    public func cancel()