PlayerDependantPluginsManager
@objc
public class PlayerDependantPluginsManager : NSObject, PluginManagerControlFlowProtocol
extension PlayerDependantPluginsManager: PlayerObserverProtocol
Undocumented
-
List of registered providers for player Plugins
Declaration
Swift
var providers: [String : [String : PlayerDependantPluginProtocol]]
-
Unregister dependants plugins
Declaration
Swift
@objc public func unRegisterProviders(playerPlugin: PlayerProtocol)
Parameters
playerPlugin
Player plugin that conform PlayerProtocol that uses dependant plugins
-
Retrieve list provider for plugin
Declaration
Swift
@objc public func providers(playerPlugin: PlayerProtocol) -> [String : PlayerDependantPluginProtocol]?
Parameters
playerPlugin
Player plugin that conform PlayerProtocol that uses dependant plugins
Return Value
Array of instances of the dependant providers that are conforming ZPPlayerDependantPluginProtocol protocol
-
Undocumented
Declaration
Swift
@objc public func createPlayerDependantProviders(for player: PlayerProtocol) -> [String : PlayerDependantPluginProtocol]
-
Undocumented
Declaration
Swift
func disableProvider(identifier: String, completion: PluginManagerCompletion)
-
Undocumented
Declaration
Swift
func disableProviders(completion: PluginManagerCompletion)
-
Undocumented
Declaration
Swift
func createProvider(identifier: String, forceEnable: Bool, completion: PluginManagerCompletion)
-
Undocumented
Declaration
Swift
func createProviders(forceEnable: Bool, completion: PluginManagerCompletion)
-
Undocumented
Declaration
Swift
func getProviderInstance(identifier: String) -> PluginAdapterProtocol?
-
Undocumented
Declaration
Swift
func getProviderInstance(condition: (Any) -> Any?) -> PluginAdapterProtocol?
-
Declaration
Swift
public func playerDidFinishPlayItem(player: PlayerProtocol, completion: @escaping (_ completion: Bool) -> Void)
-
Declaration
Swift
public func playerProgressUpdate(player: PlayerProtocol, currentTime: TimeInterval, duration: TimeInterval)
-
Declaration
Swift
public func playerDidDismiss(player: PlayerProtocol)
-
Declaration
Swift
public func playerDidCreate(player: PlayerProtocol)