ForceDark

enum

Namespace: Vuplex.WebView

Values for AndroidWebView.SetForceDark().

Summary

Values

Values

Auto

Enable force dark dependent on the state of the webview parent view. If the webview parent view is being automatically force darkened (see: View.setForceDarkAllowed()), then webview content will be rendered so as to emulate a dark theme. Webviews that are not attached to the view hierarchy will not be inverted.

Off

Disable force dark, irrespective of the force dark mode of the webview parent. In this mode, webview content will always be rendered as-is, regardless of whether native views are being automatically darkened.

On

Unconditionally enable force dark. In this mode webview content will always be rendered so as to emulate a dark theme.