MCPcopy Create free account
hub / github.com/Soundux/Soundux / onSwitchOnConnectDetected

Method onSwitchOnConnectDetected

src/ui/impl/webview/webview.cpp:441–445  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

439 webview->callFunction<void>(Webview::JavaScriptFunction("window.getStore().commit", "clearCurrentlyPlaying"));
440 }
441 void WebView::onSwitchOnConnectDetected(bool state)
442 {
443 webview->callFunction<void>(
444 Webview::JavaScriptFunction("window.getStore().commit", "setSwitchOnConnectLoaded", state));
445 }
446 void WebView::onAdminRequired()
447 {
448 webview->callFunction<void>(

Callers 2

unloadSwitchOnConnectMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected