Enable/Disable Auto Time Zone
API Functions
Enable/Disable Auto Timezone
void enableAutoTimezone(boolean enable);
Toggle the auto timezone feature on or off based on the 'enable' boolean value.
enable
for the auto timezone setting, a boolean value is used: true enables auto timezone, while false disables it.
Check Auto Timezone Status
boolean isEnableAutoTimezone();
Returns the current status (enabled/disabled) of the auto timezone feature.
boolean
a boolean representation of the result.
true if enable,
false if disable.
Enable/Disable Auto Timezone in GUI
void enableAutoTimezoneGUI(boolean enable);
Enable or disable the display of the auto timezone feature in the GUI based on the 'enable' boolean value.
enable
for the auto timezone GUI setting, a boolean value is used: true enables auto timezone GUI, while false disables it.
Check Auto Timezone GUI Status
boolean isEnableAutoTimezoneGUI();
Retrieves the status (enabled/disabled) of the auto timezone feature in the GUI.
boolean
a boolean representation of the result.
true if enable,
false if disable.
Resource Download
Refer to the cloudpos apidemo - demo.
Last updated