MediaEntryProvider

@objc
public protocol MediaEntryProvider

Undocumented

  • This method is triggering the creation of media base on custom parameters and actions.

    Important:

    • In order to write custom provider you should implement this method
    • In order to send an informative error in the ResponseElement you should implement an error enum with the relevnat errors

    Declaration

    Swift

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

    Declaration

    Swift

    func cancel()