IWithMutableAudio

interface

Namespace: Vuplex.WebView

An interface implemented by a webview if it supports muting audio.

Example

await webViewPrefab.WaitUntilInitialized();
var mutableWebView = webViewPrefab.WebView as IWithMutableAudio;
if (mutableWebView != null) {
    mutableWebView.SetAudioMuted(true);
}

Summary

Public methods

SetAudioMuted

void SetAudioMuted(bool muted)

Sets whether audio is muted. The default is false.