Sdílet prostřednictvím


WebSettings.ForceDarkOff Field

Definition

Disable force dark, irrespective of the force dark mode of the WebView parent.

[Android.Runtime.Register("FORCE_DARK_OFF", ApiSince=29)]
public const Android.Webkit.ForceDarkMode ForceDarkOff = 0;
[<Android.Runtime.Register("FORCE_DARK_OFF", ApiSince=29)>]
val mutable ForceDarkOff : Android.Webkit.ForceDarkMode

Field Value

Value = 0
Attributes

Remarks

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.

This member is deprecated. refer to #setForceDark

Java documentation for android.webkit.WebSettings.FORCE_DARK_OFF.

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