Enable/Disable Auto Time Zone

Interface and Class Details

  • Package Name: 'com.wizarpos.wizarviewagentassistant'

  • Class Name: 'com.wizarpos.wizarviewagentassistant.SystemExtApiService'

  • Ensure to import 'wizarviewagentassistant' when using this interface.

API Functions

Enable/Disable Auto Timezone

void enableAutoTimezone(boolean enable);

Toggle the auto timezone feature on or off based on the 'enable' boolean value.

Parameters

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.

Returns

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.

Parameters

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.

Returns

boolean

a boolean representation of the result.

true if enable,

false if disable.

Downloading Resources

Download the necessary AIDL file for implementation guidance.

Demo Application:

  • Download the Demo App for a practical implementation example.

Last updated