Skip to content

nightmode

YYBartT edited this page Sep 11, 2024 · 1 revision

Night Mode

This module provides functionality related to night mode.

Functions

These are the functions in this module:

Constants

These are the constants in this module:



Back To Top

MobileUtils_NightMode_Check

This function returns the night mode setting of the device.


Syntax:

MobileUtils_NightMode_Check()



Returns:

MobileUtils_NightMode


Example:

var _mode = MobileUtils_NightMode_Check();



Back To Top

MobileUtils_NightMode

This set of constants represents the night mode setting.

These constants are referenced by the following functions:


Member Description
MobileUtils_NightMode_Night Night mode is set to night
MobileUtils_NightMode_Light Night mode is set to light
MobileUtils_NightMode_Undefined Night mode is undefined