Namespace: preference

ENABLE. preference

Members

static,constantENABLE.preference.EDGE_DEPRESSEDString

Parameter of ENABLE.preference.setCaptionStyle

Edge style: depressed on the right

Since:
  • 1.0.0

static,constantENABLE.preference.EDGE_NONEString

Parameter of ENABLE.preference.setCaptionStyle

Specify no edge style

Since:
  • 1.0.0

static,constantENABLE.preference.EDGE_RAISEDString

Parameter of ENABLE.preference.setCaptionStyle

Edge style: raised on the right

Since:
  • 1.0.0

static,constantENABLE.preference.EDGE_RIGHT_DROP_SHADOWString

Parameter of ENABLE.preference.setCaptionStyle

Edge style: drop Shadow on the right

Since:
  • 1.0.0

static,constantENABLE.preference.EDGE_UNIFORMString

Parameter of ENABLE.preference.setCaptionStyle

Edge style: uniform on the right

Since:
  • 1.0.0

static,constantENABLE.preference.FONTSTYLE_ITALICString

Parameter of ENABLE.preference.setCaptionStyle

Font style: italic

Since:
  • 1.0.0
Deprecated

static,constantENABLE.preference.FONTSTYLE_ITALIC_UNDERLINEString

Parameter of ENABLE.preference.setCaptionStyle

Font style: italic + underline

Since:
  • 1.0.0
Deprecated

static,constantENABLE.preference.FONTSTYLE_NORMALString

Parameter of ENABLE.preference.setCaptionStyle

Font style: normal

Since:
  • 1.0.0
Deprecated

static,constantENABLE.preference.FONTSTYLE_UNDERLINEString

Parameter of ENABLE.preference.setCaptionStyle

Font style: underline

Since:
  • 1.0.0
Deprecated

static,constantENABLE.preference.FONT_STYLE_ITALICString

Parameter of ENABLE.preference.setCaptionStyle

Font style: italic

Since:
  • 1.7.0

static,constantENABLE.preference.FONT_STYLE_ITALIC_UNDERLINEString

Parameter of ENABLE.preference.setCaptionStyle

Font style: italic + underline

Since:
  • 1.7.0

static,constantENABLE.preference.FONT_STYLE_NORMALString

Parameter of ENABLE.preference.setCaptionStyle

Font style: normal

Since:
  • 1.7.0

static,constantENABLE.preference.FONT_STYLE_UNDERLINEString

Parameter of ENABLE.preference.setCaptionStyle

Font style: underline

Since:
  • 1.7.0

static,constantENABLE.preference.RESIZE_MODE_FILLNumber

Parameter of ENABLE.player#setResizeMode. The specified aspect ratio is ignored.

Since:
  • 1.0.0

static,constantENABLE.preference.RESIZE_MODE_FITNumber

Parameter of ENABLE.player#setResizeMode. Either the width or height is decreased to obtain the desired aspect ratio.

Since:
  • 1.0.0

static,constantENABLE.preference.RESIZE_MODE_ZOOMNumber

Parameter of ENABLE.player#setResizeMode. Either the width or height is increased to obtain the desired aspect ratio.

Since:
  • 1.0.0

static,constantENABLE.preference.RES_1080I50

Parameter of ENABLE.preference.setResolution

1080i50 (1920 × 1080 split into two interlaced fields of 540 lines)

Since:
  • 1.0.0

static,constantENABLE.preference.RES_1080I60

Parameter of ENABLE.preference.setResolution

1080i60 (1920 × 1080 split into two interlaced fields of 540 lines)

Since:
  • 1.0.0

static,constantENABLE.preference.RES_1080P24

Parameter of ENABLE.preference.setResolution

1080p24: 1080p (1920 × 1080 progressive scan), frame rate 24Hz

Since:
  • 1.0.0

static,constantENABLE.preference.RES_1080P25

Parameter of ENABLE.preference.setResolution

1080p25: 1080p (1920 × 1080 progressive scan), frame rate 25Hz

Since:
  • 1.0.0

static,constantENABLE.preference.RES_1080P30

Parameter of ENABLE.preference.setResolution

1080p30: 1080p (1920 × 1080 progressive scan), frame rate 30Hz

Since:
  • 1.0.0

static,constantENABLE.preference.RES_1080P50

Parameter of ENABLE.preference.setResolution

1080p50: 1080p (1920 × 1080 progressive scan), frame rate 50Hz

Since:
  • 1.0.0

static,constantENABLE.preference.RES_1080P60

Parameter of ENABLE.preference.setResolution

1080p60: 1080p (1920 × 1080 progressive scan), frame rate 60Hz

Since:
  • 1.0.0

static,constantENABLE.preference.RES_2160P24

Parameter of ENABLE.preference.setResolution

2160p24: 2160p (3840 × 2160 progressive scan), frame rate 24Hz

Since:
  • 1.0.0

static,constantENABLE.preference.RES_2160P25

Parameter of ENABLE.preference.setResolution

2160p25: 2160p (3840 × 2160 progressive scan), frame rate 25Hz

Since:
  • 1.0.0

static,constantENABLE.preference.RES_2160P30

Parameter of ENABLE.preference.setResolution

2160p30: 2160p (3840 × 2160 progressive scan), frame rate 30Hz

Since:
  • 1.0.0

static,constantENABLE.preference.RES_2160P50

Parameter of ENABLE.preference.setResolution

2160p50: 2160p (3840 × 2160 progressive scan), frame rate 50Hz

Since:
  • 1.0.0

static,constantENABLE.preference.RES_2160P60

Parameter of ENABLE.preference.setResolution

2160p60: 2160p (3840 × 2160 progressive scan), frame rate 60Hz

Since:
  • 1.0.0

static,constantENABLE.preference.RES_480I

Parameter of ENABLE.preference.setResolution

480i60 (720x480 two interlaced fields of 243 lines each)

Since:
  • 1.0.0

static,constantENABLE.preference.RES_480P

Parameter of ENABLE.preference.setResolution

480p60 (720x480 progressive scan)

Since:
  • 1.0.0

static,constantENABLE.preference.RES_576I

Parameter of ENABLE.preference.setResolution

576i50 (720x576 two interlaced fields of 288 lines each)

Since:
  • 1.0.0

static,constantENABLE.preference.RES_576P

Parameter of ENABLE.preference.setResolution

576p50 (720x576 progressive scan)

Since:
  • 1.0.0

static,constantENABLE.preference.RES_720P50

Parameter of ENABLE.preference.setResolution

720p50 (1280 × 720 progressive scan)

Since:
  • 1.0.0

static,constantENABLE.preference.RES_720P60

Parameter of ENABLE.preference.setResolution

720p60 (1280 × 720 progressive scan)

Since:
  • 1.0.0

static,constantENABLE.preference.SURROUND_AUTO

Parameter of ENABLE.preference.setAudioSettings

Surround sound: auto, use the formats that the device supports

Since:
  • 1.0.0

static,constantENABLE.preference.SURROUND_NONE

Parameter of ENABLE.preference.setAudioSettings

Surround sound: none, disable using surround round

Since:
  • 1.0.0

static,constantENABLE.preference.TIME_12HOURS

Parameter of ENABLE.preference.setDisplayFormat

Time format: 12hours display

Since:
  • 1.0.0

static,constantENABLE.preference.TIME_24HOURS

Parameter of ENABLE.preference.setDisplayFormat

Time format: 24hours display

Since:
  • 1.0.0

Methods

staticENABLE.preference.getAudioConfig(){Object}

preference.js, line 217

Gets the user configuration for audio tracks.

Since:
  • 1.0.0
Returns:
Name Type Description
object Object
Name Type Description
status_code String ENABLE.status.SUCCESS or
ENABLE.status.ERROR
language Array.<String> Optional, Please refer to parameter of ENABLE.preference.setAudioConfig

staticENABLE.preference.getAudioSettings(){Object}

preference.js, line 530

Retrieves the current audio settings configuration.

  • Surround Sound Mode:
    • auto: This setting will passthrough audio data to the connected TV if it supports surround sound. If not, the audio will be downmixed to stereo for better compatibility.
    • none: The audio will always be downmixed to stereo, regardless of the TV's capabilities.
Since:
  • 1.0.0
Returns:
Name Type Description
object Object
Name Type Description
surround String Surround sound output mode:
ENABLE.preference.SURROUND_AUTO or
ENABLE.preference.SURROUND_NONE
status_code String ENABLE.status.SUCCESS or
ENABLE.status.ERROR

staticENABLE.preference.getAvailableInputMethods(){Object}

preference.js, line 674

Retrieves the list of input methods (IMEs) available on this device, and the currently selected IME.

Returns:
Name Type Description
object Object An object containing:
Name Type Description
selected string The ID of the currently selected input method.
input_methods Array.<Object> Array of IME objects, each with the following properties:
Name Type Description
id String The unique identifier of the input method (e.g., package/class name).
locales Array.<String> An array of locale codes supported by the input method (e.g., ["en_US", "fr_FR"]).
enabled boolean Indicates whether this input method is currently enabled
status_code string The status of the operation ENABLE.status.SUCCESS
{
  selected: 'com.aminocom.keyboard/.physical.SwissGerman',
  input_methods: [
    { id: 'com.aminocom.keyboard/.virtual.ImeService', locales: ["en_US"], enabled: false },
    { id: 'com.aminocom.keyboard/.physical.SwissGerman', locales: ["de_CH"], enabled: true },
    { id: 'com.aminocom.keyboard/.physical.SwissFrench', locales: ["fr_CH"], enabled: false }
  ],
  status_code: "ENTONE.status.SUCCESS"
}

staticENABLE.preference.getBestOutputMode(){Object}

preference.js, line 414

Retrieves the status of the best output mode setting.

This function checks if the device is configured to automatically select the highest resolution that is supported by both the TV and the device itself.

Since:
  • 1.0.0
Returns:
Name Type Description
object Object
Name Type Description
status_code String ENABLE.status.SUCCESS or
ENABLE.status.ERROR
result Boolean Best output mode status

staticENABLE.preference.getCaptionStyle(){Object}

preference.js, line 336

Get caption styles.
Please refer to parameter of ENABLE.preference.setCaptionStyle

Since:
  • 1.0.0
Returns:
Name Type Description
object Object
Name Type Description
status_code String ENABLE.status.SUCCESS or
ENABLE.status.ERROR
size Number Size (dp) of the subtitle view
type String Font Family of the text
style String Font style of the text
text_color String RGB color code ("#RRGGBB") for the text
text_opacity Number Opacity (between 0 to 1) of the text_color
bg_color String RGB color code ("#RRGGBB") for the background
bg_opacity Number Opacity (between 0 to 1) of the bg_color
edge_type String Edge type of the caption
edge_color String RGB color code ("#RRGGBB") for the edge

staticENABLE.preference.getDisplayFormat(){Object}

preference.js, line 569

Get display format.

Since:
  • 1.0.0
Returns:
Name Type Description
object Object
Name Type Description
time String Time display format:
ENABLE.preference.TIME_12HOURS or
ENABLE.preference.TIME_24HOURS
status_code String ENABLE.status.SUCCESS or
ENABLE.status.ERROR

staticENABLE.preference.getNTPConfig(){Object}

preference.js, line 483

Get NTP config.

Since:
  • 1.7.0
Returns:
Name Type Description
object Object
Name Type Description
status Boolean NTP Status, enabled = true, disabled = false.
server String NTP server, which can be either an IP address or a domain name.
status_code String ENABLE.status.SUCCESS or
ENABLE.status.ERROR
enable Boolean deprecated, use status instead.

staticENABLE.preference.getResizeMode(){Number}

preference.js, line 605

Get the resize mode preference of the player

Since:
  • 1.0.0
Returns:
Type Description
Number mode The resize mode preference of player,
ENABLE.preference.RESIZE_MODE_FIT = 0 (default),
ENABLE.preference.RESIZE_MODE_FILL = 3,
ENABLE.preference.RESIZE_MODE_ZOOM = 4

staticENABLE.preference.getResolution(){Object}

preference.js, line 397

Get display resolution.

Remark:
ENABLE.status.NOT_READY will be returned if there is no hdmi connection and a resolution has not been specified.

Since:
  • 1.0.0
Returns:
Name Type Description
object Object
Name Type Description
status_code String ENABLE.status.SUCCESS or
ENABLE.status.NOT_READY
ENABLE.status.ERROR
result String Please refer to parameter of ENABLE.preference.setResolution

staticENABLE.preference.getSystemLanguage(){Object}

preference.js, line 177

Get the Android system language

Since:
  • 1.0.0
Returns:
Name Type Description
object Object
Name Type Description
status_code String ENABLE.status.SUCCESS
result String isoLang ISO 639-3 language code (e.g. 'eng', 'spa', 'ger')

staticENABLE.preference.getTextConfig(){Object}

preference.js, line 260

Gets the user configuration for text tracks.

Since:
  • 1.0.0
Returns:
Name Type Description
object Object
Name Type Description
status_code String ENABLE.status.SUCCESS or
ENABLE.status.ERROR
on boolean Optional, Please refer to parameter of ENABLE.preference.setTextPreference
language Array.<String> Optional

staticENABLE.preference.getTimezoneId(){Object}

preference.js, line 147

Get Android system timezone id. See ENABLE.preference.setTimezone for the list of valid timezone identifiers.

Since:
  • 1.0.0
Returns:
Name Type Description
object Object
Name Type Description
status_code String ENABLE.status.SUCCESS or
ENABLE.status.ERROR
result String time_zone (e.g., "Europe/Paris", "America/Los_Angeles")

staticENABLE.preference.setAudioConfig(config){Object}

preference.js, line 198

Set the user configuration for audio tracks. This config will be stored persistently.
Only single preferred language can be configured. Configuration will be reset to default if no preferred language is provided.
Only language is currently supported.

var lang_pref_bibliographic = ["fre","spa","ger","dut"];
ENABLE.preference.setAudioConfig({ language: lang_pref_bibliographic });
Name Type Description
config Object
Name Type Description
language Array.<String>

Array of ISO 639-2 (B) code, language code at 0 index is the default

Since:
  • 1.0.0
Returns:
Name Type Description
object Object
Name Type Description
status_code String ENABLE.status.SUCCESS or
ENABLE.status.INVALID_ARGUMENT

staticENABLE.preference.setAudioSettings(settings){Object}

preference.js, line 550

Set audio settings. Need reboot once to take effect.

Name Type Description
settings Object
Name Type Description
surround String

Surround sound output mode:
ENABLE.preference.SURROUND_AUTO or
ENABLE.preference.SURROUND_NONE

Since:
  • 1.0.0
Returns:
Name Type Description
object Object
Name Type Description
status_code String ENABLE.status.SUCCESS or
ENABLE.status.ERROR or
ENABLE.status.INVALID_ARGUMENT

staticENABLE.preference.setBestOutputMode(modeOn){Object}

preference.js, line 432

Sets the best output mode to automatically select the highest resolution supported by both the device and the connected TV.

This function configures the device to automatically detect and use the highest resolution that both the device and the TV can handle.

Name Type Description
modeOn Boolean

Pass true to enable or false to disable best output mode

Since:
  • 1.0.0
Returns:
Name Type Description
object Object
Name Type Description
status_code String ENABLE.status.SUCCESS or
ENABLE.status.INVALID_ARGUMENT

staticENABLE.preference.setCaptionStyle(config){Object}

preference.js, line 310

Sets the style for captions (subtitles) on the video player.
If an option is not provided in the config, it will revert to the following default styles:

  • Opacity: Both text and background opacity default to 1 (fully opaque).
  • Font Style: Default is ENABLE.preference.FONT_STYLE_NORMAL (no underline, not italic).
  • Text Color: Default is #FFFFFF (white).
  • Background Color: Default is #000000 (black).
  • Edge Type: Default is ENABLE.preference.EDGE_NONE (no edge effect).
  • Edge Color: Default is #FFFFFF (white), though only relevant if an edge type other than NONE is set.
Name Type Description
config Object
Name Type Description
preview Boolean

Pass true to show preview or false to hide preview and save the config persistently

size Number

Size (dp) of the subtitle view

type String

Font Family of the text, currently these are supported:
- mono_sp_with_serifs
- prop_sp_with_serifs
- mono_sp_without_serifs
- prop_sp_without_serifs
- casual
- cursive
- small_capitals

style String

Font style of the text:
ENABLE.preference.FONT_STYLE_NORMAL or
ENABLE.preference.FONT_STYLE_ITALIC or
ENABLE.preference.FONT_STYLE_UNDERLINE or
ENABLE.preference.FONT_STYLE_ITALIC_UNDERLINE

text_color String

RGB color code ("#RRGGBB") for the text, e.g. "#FF00FF"

text_opacity Number

Opacity (between 0 to 1) of the text_color

bg_color String

RGB color code ("#RRGGBB") for the background, e.g. "#FF00FF"

bg_opacity Number

Opacity (between 0 to 1) of the bg_color

edge_type String

Edge type of the caption:
ENABLE.preference.EDGE_NONE or
ENABLE.preference.EDGE_RAISED or
ENABLE.preference.EDGE_UNIFORM or
ENABLE.preference.EDGE_DEPRESSED or
ENABLE.preference.EDGE_RIGHT_DROP_SHADOW

edge_color String

RGB color code ("#RRGGBB") for the edge, e.g. "#FF00FF"

Since:
  • 1.0.0
Returns:
Name Type Description
object Object
Name Type Description
status_code String ENABLE.status.SUCCESS or
ENABLE.status.INVALID_ARGUMENT or
ENABLE.status.ERROR

staticENABLE.preference.setCurrentInputMethod(id){Object}

preference.js, line 643

Set the current input methods.

This function will enable the specified input methods by their IDs and set them as the current input method.

If any input method in the provided list is not found among available input methods,
the function will return an INVALID_ARGUMENT error.

To check the available input methods, call ENABLE.preference.getAvailableInputMethods.

Name Type Description
id string

The id of input method to enable and select. e.g., "com.aminocom.keyboard/.physical.SwissGerman".

Returns:
Name Type Description
object Object
Name Type Description
status_code string ENABLE.status.SUCCESS or ENABLE.status.INVALID_ARGUMENT

staticENABLE.preference.setDateTime(date){Object}

preference.js, line 455

Set system date time manually. NTP sync will be disabled after setting this api.

var date = new Date(2022, 0, 9, 18, 40, 35); // 0 for January
ENABLE.preference.setDateTime(date);
Name Type Description
date Date

Js Date object.

Since:
  • 1.0.0
Returns:
Name Type Description
object Object
Name Type Description
status_code String ENABLE.status.SUCCESS or
ENABLE.status.ERROR or
ENABLE.status.INVALID_ARGUMENT

staticENABLE.preference.setDisplayFormat(format){Object}

preference.js, line 589

Set display format.

Name Type Description
format Object
Name Type Description
time Object

Time display format:
ENABLE.preference.TIME_12HOURS or
ENABLE.preference.TIME_24HOURS

Since:
  • 1.0.0
Returns:
Name Type Description
Object Object
Name Type Description
status_code String ENABLE.status.SUCCESS or
ENABLE.status.ERROR or
ENABLE.status.INVALID_ARGUMENT

staticENABLE.preference.setNTPConfig(config){Object}

preference.js, line 508

After setNTPConfig has been called, the device must be rebooted in order for the setting to take effect.

ENABLE.preference.setNTPConfig({enable: true, server: "10.0.32.26"}) or
ENABLE.preference.setNTPConfig({enable: true, server: "time.android.com"})
Name Type Description
config Object
Name Type Description
enable Boolean

Enable or disable NTP

server String

Domain name or IP address of the NTP server.

Since:
  • 1.0.0
Returns:
Name Type Description
object Object
Name Type Description
status_code String ENABLE.status.SUCCESS or
ENABLE.status.ERROR or
ENABLE.status.INVALID_ARGUMENT

staticENABLE.preference.setResizeMode(mode){Object}

preference.js, line 621

Sets the default resize mode of new instances of the Player object. This will only take effect on new instances created after this API has been called.

Name Type Description
mode Number

The resize mode of video,
ENABLE.preference.RESIZE_MODE_FIT,
ENABLE.preference.RESIZE_MODE_FILL, or
ENABLE.preference.RESIZE_MODE_ZOOM

Since:
  • 1.0.0
Returns:
Name Type Description
object Object
Name Type Description
status_code string ENABLE.status.SUCCESS or ENABLE.status.INVALID_ARGUMENT

staticENABLE.preference.setResolution(resolution){Object}

preference.js, line 376

Set display resolution.

Remark:
If the resolution does not match the color system, the setting will not be saved,
and it will reset to the highest supported resolution on next hot plug event.

Name Type Description
resolution String

Screen Resolution: one of
ENABLE.preference.RES_1080P24
ENABLE.preference.RES_1080P25
ENABLE.preference.RES_1080P30
ENABLE.preference.RES_1080P50
ENABLE.preference.RES_1080P60
ENABLE.preference.RES_1080I50
ENABLE.preference.RES_1080I60
ENABLE.preference.RES_720P50
ENABLE.preference.RES_720P60
ENABLE.preference.RES_576P
ENABLE.preference.RES_576I
ENABLE.preference.RES_480P
ENABLE.preference.RES_480I
ENABLE.preference.RES_2160P24
ENABLE.preference.RES_2160P25
ENABLE.preference.RES_2160P30
ENABLE.preference.RES_2160P50
ENABLE.preference.RES_2160P60

Since:
  • 1.0.0
Returns:
Name Type Description
object Object
Name Type Description
status_code String ENABLE.status.SUCCESS or
ENABLE.status.ERROR or
ENABLE.status.INVALID_ARGUMENT

staticENABLE.preference.setSystemLanguage(iso_lang, save_as_user_config){Object}

preference.js, line 162

Set the Android system language

Name Type Description
iso_lang String

3 char ISO 639-3 language code (e.g., 'eng', 'spa', 'ger')

save_as_user_config boolean

Default true. Save the chosen system language as user preference if set to true.

Since:
  • 1.4.0
Returns:
Name Type Description
object Object
Name Type Description
status_code String ENABLE.status.SUCCESS or
ENABLE.status.ERROR or
ENABLE.status.INVALID_ARGUMENT

staticENABLE.preference.setTextConfig(config){Object}

preference.js, line 240

Set the user configuration for text tracks.
This configuration will be stored persistently. Only single preferred language can be configured.
Configuration will be reset to default if no preferred language is provided.

var lang_pref_terminology = ["fra","spa","deu","nld"];
ENABLE.preference.setTextConfig({ on: true, language: lang_pref_terminology });
Name Type Description
config Object
Name Type Description
on boolean

true will select the first available text track if no other Config matched or set.
false (default) will not select any text track when playback started.

language Array.<String>

Array of ISO 639-2 (T) code, language code at 0 index is the most preferred.

Since:
  • 1.0.0
Returns:
Name Type Description
object Object
Name Type Description
status_code String ENABLE.status.SUCCESS or
ENABLE.status.INVALID_ARGUMENT

staticENABLE.preference.setTimezone(timezone){Object}

preference.js, line 131

Set Android system timezone
There will be a short delay before the change is successfully applied.

Name Type Description
timezone String

The timezone name to set. Must be one of the valid timezone identifiers listed below.

  • "Australia/Adelaide"
  • "Asia/Almaty"
  • "Asia/Amman"
  • "Europe/Amsterdam"
  • "America/Anchorage"
  • "Europe/Athens"
  • "Pacific/Auckland"
  • "Atlantic/Azores"
  • "Asia/Baghdad"
  • "Asia/Baku"
  • "Asia/Bangkok"
  • "America/Barbados"
  • "Asia/Beirut"
  • "Europe/Belgrade"
  • "America/Bogota"
  • "Africa/Brazzaville"
  • "Australia/Brisbane"
  • "Europe/Brussels"
  • "America/Argentina/Buenos_Aires"
  • "Africa/Cairo"
  • "Atlantic/Cape_Verde"
  • "America/Caracas"
  • "Africa/Casablanca"
  • "America/Chicago"
  • "America/Chihuahua"
  • "Asia/Colombo"
  • "America/Costa_Rica"
  • "Australia/Darwin"
  • "America/Denver"
  • "Asia/Dubai"
  • "Pacific/Fiji"
  • "America/Godthab"
  • "Pacific/Guam"
  • "America/Halifax"
  • "Africa/Harare"
  • "Europe/Helsinki"
  • "Australia/Hobart"
  • "Asia/Hong_Kong"
  • "Pacific/Honolulu"
  • "Asia/Irkutsk"
  • "Europe/Istanbul"
  • "Asia/Jakarta"
  • "Asia/Jerusalem"
  • "Asia/Kabul"
  • "Asia/Karachi"
  • "Asia/Kathmandu"
  • "Asia/Kolkata"
  • "Asia/Krasnoyarsk"
  • "Asia/Kuala_Lumpur"
  • "Asia/Kuwait"
  • "Europe/London"
  • "America/Los_Angeles"
  • "Europe/Madrid"
  • "Asia/Magadan"
  • "Pacific/Majuro"
  • "America/Manaus"
  • "America/Mexico_City"
  • "Pacific/Midway"
  • "Europe/Minsk"
  • "America/Montevideo"
  • "Europe/Moscow"
  • "Africa/Nairobi"
  • "America/New_York"
  • "Pacific/Noumea"
  • "Asia/Oral"
  • "Australia/Perth"
  • "America/Phoenix"
  • "America/Recife"
  • "America/Regina"
  • "America/Santiago"
  • "America/Sao_Paulo"
  • "Europe/Sarajevo"
  • "Asia/Seoul"
  • "Asia/Shanghai"
  • "Atlantic/South_Georgia"
  • "America/St_Johns"
  • "Australia/Sydney"
  • "Asia/Taipei"
  • "Asia/Tbilisi"
  • "Asia/Tehran"
  • "America/Tijuana"
  • "Asia/Tokyo"
  • "Pacific/Tongatapu"
  • "Asia/Vladivostok"
  • "Africa/Windhoek"
  • "Asia/Yakutsk"
  • "Asia/Yangon"
  • "Asia/Yekaterinburg"
  • "Asia/Yerevan"
Since:
  • 1.0.0
Returns:
Name Type Description
object Object
Name Type Description
status_code String ENABLE.status.SUCCESS or
ENABLE.status.ERROR or
ENABLE.status.INVALID_ARGUMENT