BasePlugin
@objc
open class BasePlugin : NSObject, PKPlugin
class BasePlugin
is a base plugin object used for plugin subclasses
-
abstract implementation subclasses will have names
Declaration
Swift
@objc open class var pluginName: String { get }
-
Declaration
Swift
@objc public weak var player: Player?
-
Declaration
Swift
@objc public weak var messageBus: MessageBus?
-
Declaration
Swift
@objc public required init(player: Player, pluginConfig: Any?, messageBus: MessageBus) throws
-
Declaration
Swift
@objc open func onUpdateMedia(mediaConfig: MediaConfig)
-
Declaration
Swift
@objc open func onUpdateConfig(pluginConfig: Any)
-
Declaration
Swift
@objc open func destroy()