1# JS API Changes of the Application Framework Subsystem 2 3The table below lists the APIs changes of the application framework subsystem in OpenHarmony 3.1 Release over OpenHarmony 3.0 LTS. 4 5## API Changes 6 7| Module| Class| Method/Attribute/Enumeration/Constant| Change Type| 8|---|---|---|---| 9| ohos.settings | settings | setValueSync(dataAbilityHelper: DataAbilityHelper, name: string, value: string): boolean; | Added| 10| ohos.settings | settings | getValueSync(dataAbilityHelper: DataAbilityHelper, name: string, defValue: string): string; | Added| 11| ohos.settings | settings | getUriSync(name: string): string; | Added| 12| ohos.settings | settings | canShowFloating(callback: AsyncCallback\<boolean>): void;<br>canShowFloating(): Promise\<boolean>; | Added| 13| ohos.settings | settings | enableAirplaneMode(enable: boolean, callback: AsyncCallback\<void>): void;<br>enableAirplaneMode(enable: boolean): Promise\<void>; | Added| 14| ohos.settings | settings | getValue(dataAbilityHelper: DataAbilityHelper, name: string, callback: AsyncCallback\<object>): void;<br>getValue(dataAbilityHelper: DataAbilityHelper, name: string): Promise\<object>; | Added| 15| ohos.settings | settings | getURI(name: string, callback: AsyncCallback\<object>): void;<br>getURI(name: string): Promise\<object>; | Added| 16| ohos.settings | wireless | const WIFI_WATCHDOG_STATUS: string | Added| 17| ohos.settings | wireless | const WIFI_STATUS: string | Added| 18| ohos.settings | wireless | const WIFI_TO_MOBILE_DATA_AWAKE_TIMEOUT: string | Added| 19| ohos.settings | wireless | const WIFI_DHCP_MAX_RETRY_COUNT: string | Added| 20| ohos.settings | wireless | const OWNER_LOCKDOWN_WIFI_CFG: string | Added| 21| ohos.settings | wireless | const WIFI_RADIO: string | Added| 22| ohos.settings | wireless | const NFC_RADIO: string | Added| 23| ohos.settings | wireless | const CELL_RADIO: string | Added| 24| ohos.settings | wireless | const BLUETOOTH_RADIO: string | Added| 25| ohos.settings | wireless | const BLUETOOTH_STATUS: string | Added| 26| ohos.settings | wireless | const AIRPLANE_MODE_RADIOS: string | Added| 27| ohos.settings | wireless | const BLUETOOTH_DISCOVER_TIMEOUT: string | Added| 28| ohos.settings | wireless | const BLUETOOTH_DISCOVER_ABILITY_STATUS: string | Added| 29| ohos.settings | TTS | const ENABLED_TTS_PLUGINS: string | Added| 30| ohos.settings | TTS | const DEFAULT_TTS_SYNTH: string | Added| 31| ohos.settings | TTS | const DEFAULT_TTS_RATE: string | Added| 32| ohos.settings | TTS | const DEFAULT_TTS_PITCH: string | Added| 33| ohos.settings | sound | const HAPTIC_FEEDBACK_STATUS: string | Added| 34| ohos.settings | sound | const VIBRATE_STATUS: string | Added| 35| ohos.settings | sound | const SOUND_EFFECTS_STATUS: string | Added| 36| ohos.settings | sound | const DEFAULT_RINGTONE: string | Added| 37| ohos.settings | sound | const DEFAULT_NOTIFICATION_SOUND: string | Added| 38| ohos.settings | sound | const AFFECTED_MUTE_STREAMS: string | Added| 39| ohos.settings | sound | const AFFECTED_MODE_RINGER_STREAMS: string | Added| 40| ohos.settings | sound | const DTMF_TONE_WHILE_DIALING: string | Added| 41| ohos.settings | sound | const DTMF_TONE_TYPE_WHILE_DIALING: string | Added| 42| ohos.settings | sound | const DEFAULT_ALARM_ALERT: string | Added| 43| ohos.settings | sound | const VIBRATE_WHILE_RINGING: string | Added| 44| ohos.settings | phone | const RTT_CALLING_STATUS: string | Added| 45| ohos.settings | network | const NETWORK_PREFERENCE_USAGE: string | Added| 46| ohos.settings | network | const HTTP_PROXY_CFG: string | Added| 47| ohos.settings | network | const DATA_ROAMING_STATUS: string | Added| 48| ohos.settings | input | const SHOW_PASSWORD_TEXT_INPUT: string | Added| 49| ohos.settings | input | const AUTO_REPLACE_TEXT_INPUT: string | Added| 50| ohos.settings | input | const AUTO_PUNCTUATE_TEXT_INPUT: string | Added| 51| ohos.settings | input | const AUTO_CAPS_TEXT_INPUT: string | Added| 52| ohos.settings | input | const SELECTOR_VISIBILITY_FOR_INPUT_METHOD: string | Added| 53| ohos.settings | input | const ACTIVATED_INPUT_METHODS: string | Added| 54| ohos.settings | input | const ACTIVATED_INPUT_METHOD_SUB_MODE: string | Added| 55| ohos.settings | input | const DEFAULT_INPUT_METHOD: string | Added| 56| ohos.settings | general | const TOUCH_EXPLORATION_STATUS: string | Added| 57| ohos.settings | general | const SKIP_USE_HINTS: string | Added| 58| ohos.settings | general | const GEOLOCATION_ORIGINS_ALLOWED: string | Added| 59| ohos.settings | general | const ACTIVATED_ACCESSIBILITY_SERVICES: string | Added| 60| ohos.settings | general | const ACCESSIBILITY_STATUS: string | Added| 61| ohos.settings | general | const DEBUG_APP_PACKAGE: string | Added| 62| ohos.settings | general | const DEBUGGER_WAITING: string | Added| 63| ohos.settings | general | const USB_STORAGE_STATUS: string | Added| 64| ohos.settings | general | const DEVICE_NAME: string | Added| 65| ohos.settings | general | const DEVELOPMENT_SETTINGS_STATUS: string | Added| 66| ohos.settings | general | const CONTACT_METADATA_SYNC_STATUS: string | Added| 67| ohos.settings | general | const BOOT_COUNTING: string | Added| 68| ohos.settings | general | const HDC_STATUS: string | Added| 69| ohos.settings | general | const DEVICE_PROVISION_STATUS: string | Added| 70| ohos.settings | general | const AIRPLANE_MODE_STATUS: string | Added| 71| ohos.settings | general | const ACCELEROMETER_ROTATION_STATUS: string | Added| 72| ohos.settings | general | const END_BUTTON_ACTION: string | Added| 73| ohos.settings | general | const SETUP_WIZARD_FINISHED: string | Added| 74| ohos.settings | display | const DISPLAY_INVERSION_STATUS: string | Added| 75| ohos.settings | display | const WINDOW_ANIMATION_SCALE: string | Added| 76| ohos.settings | display | const TRANSITION_ANIMATION_SCALE: string | Added| 77| ohos.settings | display | const ANIMATOR_DURATION_SCALE: string | Added| 78| ohos.settings | display | const DEFAULT_SCREEN_ROTATION: string | Added| 79| ohos.settings | display | const SCREEN_OFF_TIMEOUT: string | Added| 80| ohos.settings | display | const MANUAL_SCREEN_BRIGHTNESS_MODE: number | Added| 81| ohos.settings | display | const AUTO_SCREEN_BRIGHTNESS_MODE: number | Added| 82| ohos.settings | display | const AUTO_SCREEN_BRIGHTNESS: string | Added| 83| ohos.settings | display | const SCREEN_BRIGHTNESS_STATUS: string | Added| 84| ohos.settings | display | const FONT_SCALE: string | Added| 85| ohos.settings | date | const AUTO_GAIN_TIME_ZONE: string | Added| 86| ohos.settings | date | const AUTO_GAIN_TIME: string | Added| 87| ohos.settings | date | const TIME_FORMAT: string | Added| 88| ohos.settings | date | const DATE_FORMAT: string | Added| 89