OVPMediaProvider
@objc
public class OVPMediaProvider : NSObject, MediaEntryProvider
Undocumented
-
Undocumented
Declaration
Swift
@objc public var sessionProvider: SessionProvider?
-
Undocumented
Declaration
Swift
@objc public var entryId: String?
-
Undocumented
Declaration
Swift
@objc public var uiconfId: NSNumber?
-
Undocumented
Declaration
Swift
@objc public var referrer: String?
-
Undocumented
Declaration
Swift
public var executor: RequestExecutor?
-
Undocumented
Declaration
Swift
@objc public override init()
-
Undocumented
Declaration
Swift
@objc public init(_ sessionProvider: SessionProvider)
-
session provider - which resposible for the ks, prtner id, and base server url
Declaration
Swift
@discardableResult @nonobjc public func set(sessionProvider: SessionProvider?) -> Self
-
entryId - entry which we need to play
Declaration
Swift
@discardableResult @nonobjc public func set(entryId: String?) -> Self
-
uiconfId - UI Configuration id
Declaration
Swift
@discardableResult @nonobjc public func set(uiconfId: NSNumber?) -> Self
-
set the provider referrer
Declaration
Swift
@discardableResult @nonobjc public func set(referrer: String?) -> Self
Parameters
referrer
the app referrer
Return Value
Self
-
executor - which resposible for the network, it can be set to
Declaration
Swift
@discardableResult @nonobjc public func set(executor: RequestExecutor?) -> Self
-
Declaration
Swift
@objc public func loadMedia(callback: @escaping (PKMediaEntry?, Error?) -> Void)
-
Undocumented
Declaration
Swift
@objc public func cancel()
-
Undocumented
Declaration
Swift
@objc public func convertScheme(name: String) -> DRMParams.Scheme