PhoenixMediaProvider
@objc
public class PhoenixMediaProvider : NSObject, MediaEntryProviderUndocumented
- 
                  
                  Undocumented DeclarationSwift @objc public var sessionProvider: SessionProvider?
- 
                  
                  Undocumented DeclarationSwift @objc public var assetId: String?
- 
                  
                  Undocumented DeclarationSwift @objc public var type: AssetType
- 
                  
                  Undocumented DeclarationSwift @objc public var refType: AssetReferenceType
- 
                  
                  Undocumented DeclarationSwift @objc public var formats: [String]?
- 
                  
                  Undocumented DeclarationSwift @objc public var fileIds: [String]?
- 
                  
                  Undocumented DeclarationSwift @objc public var playbackContextType: PlaybackContextType
- 
                  
                  Undocumented DeclarationSwift @objc public var networkProtocol: String?
- 
                  
                  Undocumented DeclarationSwift @objc public var referrer: String?
- 
                  
                  Undocumented DeclarationSwift public weak var responseDelegate: PKMediaEntryProviderResponseDelegate?
- 
                  
                  Undocumented DeclarationSwift public var executor: RequestExecutor?
- 
                  
                  Undocumented DeclarationSwift public override init()
- 
                  
                  DeclarationSwift @discardableResult @nonobjc public func set(sessionProvider: SessionProvider?) -> SelfParameterssessionProviderThis provider provider the ks for all wroking request. If ks is nil, the provider will load the meida with anonymous ks Return ValueSelf ( so you con continue set other parameters after it ) 
- 
                  
                  Required parameter DeclarationSwift @discardableResult @nonobjc public func set(assetId: String?) -> SelfParametersassetIdasset identifier Return ValueSelf 
- 
                  
                  DeclarationSwift @discardableResult @nonobjc public func set(type: AssetType) -> SelfParameterstypeAsset Object type if it is Media Or EPG Return ValueSelf 
- 
                  
                  DeclarationSwift @discardableResult @nonobjc public func set(refType: AssetReferenceType) -> SelfParametersrefTypeAsset reference type Return ValueSelf 
- 
                  
                  DeclarationSwift @discardableResult @nonobjc public func set(playbackContextType: PlaybackContextType) -> SelfParametersplaybackContextTypeTrailer/Playback/StartOver/Catchup Return ValueSelf 
- 
                  
                  DeclarationSwift @discardableResult @nonobjc public func set(formats: [String]?) -> SelfParametersformatsAsset’s requested file formats, According to this formats array order the sources will be ordered in the mediaEntry According to this formats sources will be filtered when creating the mediaEntry Return ValueSelf 
- 
                  
                  DeclarationSwift @discardableResult @nonobjc public func set(fileIds: [String]?) -> SelfParametersformatsAsset’s requested file ids, According to this files array order the sources will be ordered in the mediaEntry According to this ids sources will be filtered when creating the mediaEntry Return ValueSelf 
- 
                  
                  DeclarationSwift @discardableResult @nonobjc public func set(networkProtocol: String?) -> SelfParametersnetworkProtocolhttp/https Return ValueSelf 
- 
                  
                  DeclarationSwift @discardableResult @nonobjc public func set(referrer: String?) -> SelfParametersreferrerthe referrer Return ValueSelf 
- 
                  
                  DeclarationSwift @discardableResult @nonobjc public func set(executor: RequestExecutor?) -> SelfParametersexecutorexecutor which will be used to send request. default is USRExecutor Return ValueSelf 
- 
                  
                  DeclarationSwift @discardableResult @nonobjc public func set(responseDelegate: PKMediaEntryProviderResponseDelegate?) -> SelfParametersresponseDelegateresponseDelegate which will be used to get the response of the requests are being sent by the mediaProvider default is nil Return ValueSelf 
- 
                  
                  This object is created before loading the media in order to make sure all required attributes are set and we are ready to load DeclarationSwift public struct LoaderInfo
- 
                  
                  DeclarationSwift @objc public func loadMedia(callback: @escaping (PKMediaEntry?, Error?) -> Void)
- 
                  
                  Undocumented DeclarationSwift public func cancel()
- 
                  
                  Undocumented DeclarationSwift public static func createMediaEntry(loaderInfo: LoaderInfo, context: OTTPlaybackContext, asset: OTTMediaAsset?) -> (PKMediaEntry?, NSError?)
 PhoenixMediaProvider Class Reference
        PhoenixMediaProvider Class Reference