@24i/smartapps-bigscreen-rnv-build-engine 0.17.13 → 0.17.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -162,9 +162,9 @@ class BridgeFromJavaScript(
|
|
|
162
162
|
Bridge JS 2 Android to get the total time
|
|
163
163
|
*/
|
|
164
164
|
@JavascriptInterface
|
|
165
|
-
fun bridgeJavaScriptToAndroid_GetTotalTime():
|
|
166
|
-
viewModel.duration.
|
|
167
|
-
} ?:
|
|
165
|
+
fun bridgeJavaScriptToAndroid_GetTotalTime(): Float = runBlocking("bridgeJavaScriptToAndroid_GetTotalTime") {
|
|
166
|
+
viewModel.duration.toFloat() / 1000
|
|
167
|
+
} ?: 0f
|
|
168
168
|
|
|
169
169
|
/*
|
|
170
170
|
Bridge JS 2 Android to seek to the time in seconds
|