• Dimming mode is used to control whether or not a mobile device should dim the screen after a period without user interaction.

Static variables

@:enum@:native("DIMMING_OFF")staticread onlyOff:WindowDimmingMode

  • Dimming off

@:enum@:native("DIMMING_ON")staticread onlyOn:WindowDimmingMode

  • Dimming on

@:enum@:native("DIMMING_UNKNOWN")staticread onlyUnknown:WindowDimmingMode

  • This mode indicates that the dim mode can't be determined, or that the platform doesn't support dimming.