Condividi tramite


WebSettings.ForceDarkOn Field

Definition

Unconditionally enable force dark.

[Android.Runtime.Register("FORCE_DARK_ON", ApiSince=29)]
public const Android.Webkit.ForceDarkMode ForceDarkOn = 2;
[<Android.Runtime.Register("FORCE_DARK_ON", ApiSince=29)>]
val mutable ForceDarkOn : Android.Webkit.ForceDarkMode

Field Value

Value = 2
Attributes

Remarks

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

This member is deprecated. refer to #setForceDark

Java documentation for android.webkit.WebSettings.FORCE_DARK_ON.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to