extension NpawPluginInstance
NpawPluginInstance Extension
-
Declaration
Swift
public static var isInitialized: Bool -
Declaration
Swift
public var isCustomNpawPlugin: Bool { get set } -
Declaration
Swift
public static var ybLogLevel: Level { get } -
Declaration
Swift
public static func build(from settings: YouboraSettings) -> NpawPluginInstance -
The
VideoAdapterassociated with this plugin instance, ornilif none has been set.Assign the adapter returned by
videoBuilder()here so that components which only hold a reference to the plugin instance (such as the player adapter) can retrieve it later. Setting the property tonilremoves the association.The value is kept in a shared, thread-safe weak-to-weak map, so it is released automatically once the adapter or this plugin instance is deallocated.
Declaration
Swift
public var videoAdapter: NpawPlugin.VideoAdapter? { get set }