mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-08-07 03:49:15 +00:00
fix(plugins): resolve unresolved reference and type inference errors in PluginRuntime
This commit is contained in:
parent
835473115f
commit
3415696df8
1 changed files with 2 additions and 1 deletions
|
|
@ -8,6 +8,7 @@ import com.nuvio.app.features.plugins.runtime.host.HostApiRegistry
|
|||
import com.nuvio.app.features.plugins.runtime.host.HostFunctions
|
||||
import com.nuvio.app.features.plugins.runtime.js.JsBindings
|
||||
import com.nuvio.app.features.plugins.runtime.js.JsRuntime
|
||||
import com.dokar.quickjs.binding.function
|
||||
import com.nuvio.app.features.plugins.runtime.network.FetchBridge
|
||||
import com.nuvio.app.features.plugins.runtime.network.UrlBridge
|
||||
import com.nuvio.app.features.plugins.runtime.wasm.WasmBridge
|
||||
|
|
@ -98,7 +99,7 @@ internal object PluginRuntime {
|
|||
""".trimIndent()
|
||||
|
||||
var captureResult: String? = null
|
||||
jsRuntime.function("__capture_settings_result") { args ->
|
||||
jsRuntime.function("__capture_settings_result") { args: Array<Any?> ->
|
||||
captureResult = args.getOrNull(0)?.toString()
|
||||
null
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue