js-apidiff-global.md 16.3 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106
| Change Type | New Version | Old Version | d.ts File |
| ---- | ------ | ------ | -------- |
|Added||Module name: ohos.i18n<br>Class name: System|@ohos.i18n.d.ts|
|Added||Module name: ohos.i18n<br>Class name: System<br>Method or attribute name: getDisplayCountry|@ohos.i18n.d.ts|
|Added||Module name: ohos.i18n<br>Class name: System<br>Method or attribute name: getDisplayLanguage|@ohos.i18n.d.ts|
|Added||Module name: ohos.i18n<br>Class name: System<br>Method or attribute name: getSystemLanguages|@ohos.i18n.d.ts|
|Added||Module name: ohos.i18n<br>Class name: System<br>Method or attribute name: getSystemCountries|@ohos.i18n.d.ts|
|Added||Module name: ohos.i18n<br>Class name: System<br>Method or attribute name: isSuggested|@ohos.i18n.d.ts|
|Added||Module name: ohos.i18n<br>Class name: System<br>Method or attribute name: getSystemLanguage|@ohos.i18n.d.ts|
|Added||Module name: ohos.i18n<br>Class name: System<br>Method or attribute name: setSystemLanguage|@ohos.i18n.d.ts|
|Added||Module name: ohos.i18n<br>Class name: System<br>Method or attribute name: getSystemRegion|@ohos.i18n.d.ts|
|Added||Module name: ohos.i18n<br>Class name: System<br>Method or attribute name: setSystemRegion|@ohos.i18n.d.ts|
|Added||Module name: ohos.i18n<br>Class name: System<br>Method or attribute name: getSystemLocale|@ohos.i18n.d.ts|
|Added||Module name: ohos.i18n<br>Class name: System<br>Method or attribute name: setSystemLocale|@ohos.i18n.d.ts|
|Added||Module name: ohos.i18n<br>Class name: System<br>Method or attribute name: is24HourClock|@ohos.i18n.d.ts|
|Added||Module name: ohos.i18n<br>Class name: System<br>Method or attribute name: set24HourClock|@ohos.i18n.d.ts|
|Added||Module name: ohos.i18n<br>Class name: System<br>Method or attribute name: addPreferredLanguage|@ohos.i18n.d.ts|
|Added||Module name: ohos.i18n<br>Class name: System<br>Method or attribute name: removePreferredLanguage|@ohos.i18n.d.ts|
|Added||Module name: ohos.i18n<br>Class name: System<br>Method or attribute name: getPreferredLanguageList|@ohos.i18n.d.ts|
|Added||Module name: ohos.i18n<br>Class name: System<br>Method or attribute name: getFirstPreferredLanguage|@ohos.i18n.d.ts|
|Added||Module name: ohos.i18n<br>Class name: System<br>Method or attribute name: getAppPreferredLanguage|@ohos.i18n.d.ts|
|Added||Module name: ohos.i18n<br>Class name: System<br>Method or attribute name: setUsingLocalDigit|@ohos.i18n.d.ts|
|Added||Module name: ohos.i18n<br>Class name: System<br>Method or attribute name: getUsingLocalDigit|@ohos.i18n.d.ts|
|Added||Module name: ohos.resourceManager<br>Class name: ResourceManager<br>Method or attribute name: getStringValue|@ohos.resourceManager.d.ts|
|Added||Module name: ohos.resourceManager<br>Class name: ResourceManager<br>Method or attribute name: getStringValue|@ohos.resourceManager.d.ts|
|Added||Module name: ohos.resourceManager<br>Class name: ResourceManager<br>Method or attribute name: getStringArrayValue|@ohos.resourceManager.d.ts|
|Added||Module name: ohos.resourceManager<br>Class name: ResourceManager<br>Method or attribute name: getStringArrayValue|@ohos.resourceManager.d.ts|
|Added||Module name: ohos.resourceManager<br>Class name: ResourceManager<br>Method or attribute name: getMediaContent|@ohos.resourceManager.d.ts|
|Added||Module name: ohos.resourceManager<br>Class name: ResourceManager<br>Method or attribute name: getMediaContent|@ohos.resourceManager.d.ts|
|Added||Module name: ohos.resourceManager<br>Class name: ResourceManager<br>Method or attribute name: getMediaContentBase64|@ohos.resourceManager.d.ts|
|Added||Module name: ohos.resourceManager<br>Class name: ResourceManager<br>Method or attribute name: getMediaContentBase64|@ohos.resourceManager.d.ts|
|Added||Module name: ohos.resourceManager<br>Class name: ResourceManager<br>Method or attribute name: getPluralStringValue|@ohos.resourceManager.d.ts|
|Added||Module name: ohos.resourceManager<br>Class name: ResourceManager<br>Method or attribute name: getPluralStringValue|@ohos.resourceManager.d.ts|
|Added||Module name: ohos.resourceManager<br>Class name: ResourceManager<br>Method or attribute name: getStringValue|@ohos.resourceManager.d.ts|
|Added||Module name: ohos.resourceManager<br>Class name: ResourceManager<br>Method or attribute name: getStringValue|@ohos.resourceManager.d.ts|
|Added||Module name: ohos.resourceManager<br>Class name: ResourceManager<br>Method or attribute name: getStringArrayValue|@ohos.resourceManager.d.ts|
|Added||Module name: ohos.resourceManager<br>Class name: ResourceManager<br>Method or attribute name: getStringArrayValue|@ohos.resourceManager.d.ts|
|Added||Module name: ohos.resourceManager<br>Class name: ResourceManager<br>Method or attribute name: getPluralStringValue|@ohos.resourceManager.d.ts|
|Added||Module name: ohos.resourceManager<br>Class name: ResourceManager<br>Method or attribute name: getPluralStringValue|@ohos.resourceManager.d.ts|
|Added||Module name: ohos.resourceManager<br>Class name: ResourceManager<br>Method or attribute name: getMediaContent|@ohos.resourceManager.d.ts|
|Added||Module name: ohos.resourceManager<br>Class name: ResourceManager<br>Method or attribute name: getMediaContent|@ohos.resourceManager.d.ts|
|Added||Module name: ohos.resourceManager<br>Class name: ResourceManager<br>Method or attribute name: getMediaContentBase64|@ohos.resourceManager.d.ts|
|Added||Module name: ohos.resourceManager<br>Class name: ResourceManager<br>Method or attribute name: getMediaContentBase64|@ohos.resourceManager.d.ts|
|Added||Module name: ohos.resourceManager<br>Class name: ResourceManager<br>Method or attribute name: getRawFileContent|@ohos.resourceManager.d.ts|
|Added||Module name: ohos.resourceManager<br>Class name: ResourceManager<br>Method or attribute name: getRawFileContent|@ohos.resourceManager.d.ts|
|Added||Module name: ohos.resourceManager<br>Class name: ResourceManager<br>Method or attribute name: getRawFd|@ohos.resourceManager.d.ts|
|Added||Module name: ohos.resourceManager<br>Class name: ResourceManager<br>Method or attribute name: getRawFd|@ohos.resourceManager.d.ts|
|Added||Module name: ohos.resourceManager<br>Class name: ResourceManager<br>Method or attribute name: closeRawFd|@ohos.resourceManager.d.ts|
|Added||Module name: ohos.resourceManager<br>Class name: ResourceManager<br>Method or attribute name: closeRawFd|@ohos.resourceManager.d.ts|
|Deleted||Module name: ohos.i18n<br>Class name: i18n<br>Method or attribute name: getSystemLanguages||@ohos.i18n.d.ts|
|Deleted||Module name: ohos.i18n<br>Class name: i18n<br>Method or attribute name: getSystemCountries||@ohos.i18n.d.ts|
|Deleted||Module name: ohos.i18n<br>Class name: i18n<br>Method or attribute name: isSuggested||@ohos.i18n.d.ts|
|Deleted||Module name: ohos.i18n<br>Class name: i18n<br>Method or attribute name: setSystemLanguage||@ohos.i18n.d.ts|
|Deleted||Module name: ohos.i18n<br>Class name: i18n<br>Method or attribute name: setSystemRegion||@ohos.i18n.d.ts|
|Deleted||Module name: ohos.i18n<br>Class name: i18n<br>Method or attribute name: setSystemLocale||@ohos.i18n.d.ts|
|Deleted||Module name: ohos.i18n<br>Class name: i18n<br>Method or attribute name: getAppPreferredLanguage||@ohos.i18n.d.ts|
|Deleted||Module name: ohos.i18n<br>Class name: i18n<br>Method or attribute name: setUsingLocalDigit||@ohos.i18n.d.ts|
|Deleted||Module name: ohos.i18n<br>Class name: i18n<br>Method or attribute name: getUsingLocalDigit||@ohos.i18n.d.ts|
|Deleted||Module name: ohos.resourceManager<br>Class name: AsyncCallback||@ohos.resourceManager.d.ts|
|Deleted||Module name: ohos.resourceManager<br>Class name: AsyncCallback<br>Method or attribute name: AsyncCallback||@ohos.resourceManager.d.ts|
|Deprecated version changed|Method or attribute name: getDisplayCountry<br>Deprecated version: N/A|Method or attribute name: getDisplayCountry<br>Deprecated version: 9<br>New API: ohos.System.getDisplayCountry |@ohos.i18n.d.ts|
|Deprecated version changed|Method or attribute name: getDisplayLanguage<br>Deprecated version: N/A|Method or attribute name: getDisplayLanguage<br>Deprecated version: 9<br>New API: ohos.System.getDisplayLanguage |@ohos.i18n.d.ts|
|Deprecated version changed|Method or attribute name: getSystemLanguage<br>Deprecated version: N/A|Method or attribute name: getSystemLanguage<br>Deprecated version: 9<br>New API: ohos.System.getSystemLanguage |@ohos.i18n.d.ts|
|Deprecated version changed|Method or attribute name: getSystemRegion<br>Deprecated version: N/A|Method or attribute name: getSystemRegion<br>Deprecated version: 9<br>New API: ohos.System.getSystemRegion |@ohos.i18n.d.ts|
|Deprecated version changed|Method or attribute name: getSystemLocale<br>Deprecated version: N/A|Method or attribute name: getSystemLocale<br>Deprecated version: 9<br>New API: ohos.System.getSystemLocale |@ohos.i18n.d.ts|
|Deprecated version changed|Method or attribute name: is24HourClock<br>Deprecated version: N/A|Method or attribute name: is24HourClock<br>Deprecated version: 9<br>New API: ohos.System.is24HourClock |@ohos.i18n.d.ts|
|Deprecated version changed|Method or attribute name: set24HourClock<br>Deprecated version: N/A|Method or attribute name: set24HourClock<br>Deprecated version: 9<br>New API: ohos.System.set24HourClock |@ohos.i18n.d.ts|
|Deprecated version changed|Method or attribute name: addPreferredLanguage<br>Deprecated version: N/A|Method or attribute name: addPreferredLanguage<br>Deprecated version: 9<br>New API: ohos.System.addPreferredLanguage |@ohos.i18n.d.ts|
|Deprecated version changed|Method or attribute name: removePreferredLanguage<br>Deprecated version: N/A|Method or attribute name: removePreferredLanguage<br>Deprecated version: 9<br>New API: ohos.System.removePreferredLanguage |@ohos.i18n.d.ts|
|Deprecated version changed|Method or attribute name: getPreferredLanguageList<br>Deprecated version: N/A|Method or attribute name: getPreferredLanguageList<br>Deprecated version: 9<br>New API: ohos.System.getPreferredLanguageList |@ohos.i18n.d.ts|
|Deprecated version changed|Method or attribute name: getFirstPreferredLanguage<br>Deprecated version: N/A|Method or attribute name: getFirstPreferredLanguage<br>Deprecated version: 9<br>New API: ohos.System.getFirstPreferredLanguage |@ohos.i18n.d.ts|
|Deprecated version changed|Method or attribute name: getString<br>Deprecated version: N/A|Method or attribute name: getString<br>Deprecated version: 9<br>New API: ohos.resourceManager.getStringValue     |@ohos.resourceManager.d.ts|
|Deprecated version changed|Method or attribute name: getString<br>Deprecated version: N/A|Method or attribute name: getString<br>Deprecated version: 9<br>New API: ohos.resourceManager.getStringValue     |@ohos.resourceManager.d.ts|
|Deprecated version changed|Method or attribute name: getStringArray<br>Deprecated version: N/A|Method or attribute name: getStringArray<br>Deprecated version: 9<br>New API: ohos.resourceManager.getStringArrayValue     |@ohos.resourceManager.d.ts|
|Deprecated version changed|Method or attribute name: getStringArray<br>Deprecated version: N/A|Method or attribute name: getStringArray<br>Deprecated version: 9<br>New API: ohos.resourceManager.getStringArrayValue     |@ohos.resourceManager.d.ts|
|Deprecated version changed|Method or attribute name: getMedia<br>Deprecated version: N/A|Method or attribute name: getMedia<br>Deprecated version: 9<br>New API: ohos.resourceManager.getMediaContent     |@ohos.resourceManager.d.ts|
|Deprecated version changed|Method or attribute name: getMedia<br>Deprecated version: N/A|Method or attribute name: getMedia<br>Deprecated version: 9<br>New API: ohos.resourceManager.getMediaContent     |@ohos.resourceManager.d.ts|
|Deprecated version changed|Method or attribute name: getMediaBase64<br>Deprecated version: N/A|Method or attribute name: getMediaBase64<br>Deprecated version: 9<br>New API: ohos.resourceManager.getMediaContentBase64     |@ohos.resourceManager.d.ts|
|Deprecated version changed|Method or attribute name: getMediaBase64<br>Deprecated version: N/A|Method or attribute name: getMediaBase64<br>Deprecated version: 9<br>New API: ohos.resourceManager.getMediaContentBase64     |@ohos.resourceManager.d.ts|
|Deprecated version changed|Method or attribute name: getPluralString<br>Deprecated version: N/A|Method or attribute name: getPluralString<br>Deprecated version: 9<br>New API: ohos.resourceManager.getPluralStringValue     |@ohos.resourceManager.d.ts|
|Deprecated version changed|Method or attribute name: getPluralString<br>Deprecated version: N/A|Method or attribute name: getPluralString<br>Deprecated version: 9<br>New API: ohos.resourceManager.getPluralStringValue     |@ohos.resourceManager.d.ts|
|Deprecated version changed|Method or attribute name: getRawFile<br>Deprecated version: N/A|Method or attribute name: getRawFile<br>Deprecated version: 9<br>New API: ohos.resourceManager.getRawFileContent     |@ohos.resourceManager.d.ts|
|Deprecated version changed|Method or attribute name: getRawFile<br>Deprecated version: N/A|Method or attribute name: getRawFile<br>Deprecated version: 9<br>New API: ohos.resourceManager.getRawFileContent     |@ohos.resourceManager.d.ts|
|Deprecated version changed|Method or attribute name: getRawFileDescriptor<br>Deprecated version: N/A|Method or attribute name: getRawFileDescriptor<br>Deprecated version: 9<br>New API: ohos.resourceManager.getRawFd     |@ohos.resourceManager.d.ts|
|Deprecated version changed|Method or attribute name: getRawFileDescriptor<br>Deprecated version: N/A|Method or attribute name: getRawFileDescriptor<br>Deprecated version: 9<br>New API: ohos.resourceManager.getRawFd      |@ohos.resourceManager.d.ts|
|Deprecated version changed|Method or attribute name: closeRawFileDescriptor<br>Deprecated version: N/A|Method or attribute name: closeRawFileDescriptor<br>Deprecated version: 9<br>New API: ohos.resourceManager.closeRawFd     |@ohos.resourceManager.d.ts|
|Deprecated version changed|Method or attribute name: closeRawFileDescriptor<br>Deprecated version: N/A|Method or attribute name: closeRawFileDescriptor<br>Deprecated version: 9<br>New API: ohos.resourceManager.closeRawFd     |@ohos.resourceManager.d.ts|
|Error code added||Method or attribute name: getStringByName<br>Error code: 401, 9001003, 9001004, 9001006|@ohos.resourceManager.d.ts|
|Error code added||Method or attribute name: getStringByName<br>Error code: 401, 9001003, 9001004, 9001006|@ohos.resourceManager.d.ts|
|Error code added||Method or attribute name: getStringArrayByName<br>Error code: 401, 9001003, 9001004, 9001006|@ohos.resourceManager.d.ts|
|Error code added||Method or attribute name: getStringArrayByName<br>Error code: 401, 9001003, 9001004, 9001006|@ohos.resourceManager.d.ts|
|Error code added||Method or attribute name: getMediaByName<br>Error code: 401, 9001003, 9001004|@ohos.resourceManager.d.ts|
|Error code added||Method or attribute name: getMediaByName<br>Error code: 401, 9001003, 9001004|@ohos.resourceManager.d.ts|
|Error code added||Method or attribute name: getMediaBase64ByName<br>Error code: 401, 9001003, 9001004|@ohos.resourceManager.d.ts|
|Error code added||Method or attribute name: getMediaBase64ByName<br>Error code: 401, 9001003, 9001004|@ohos.resourceManager.d.ts|
|Error code added||Method or attribute name: getPluralStringByName<br>Error code: 401, 9001003, 9001004, 9001006|@ohos.resourceManager.d.ts|
|Error code added||Method or attribute name: getPluralStringByName<br>Error code: 401, 9001003, 9001004, 9001006|@ohos.resourceManager.d.ts|
|Error code added||Method or attribute name: getStringSync<br>Error code: 401, 9001001, 9001002, 9001006|@ohos.resourceManager.d.ts|
|Error code added||Method or attribute name: getStringSync<br>Error code: 401, 9001001, 9001002, 9001006|@ohos.resourceManager.d.ts|
|Error code added||Method or attribute name: getStringByNameSync<br>Error code: 401, 9001003, 9001004, 9001006|@ohos.resourceManager.d.ts|
|Error code added||Method or attribute name: getBoolean<br>Error code: 401, 9001001, 9001002, 9001006|@ohos.resourceManager.d.ts|
|Error code added||Method or attribute name: getBoolean<br>Error code: 401, 9001001, 9001002, 9001006|@ohos.resourceManager.d.ts|
|Error code added||Method or attribute name: getBooleanByName<br>Error code: 401, 9001003, 9001004, 9001006|@ohos.resourceManager.d.ts|
|Error code added||Method or attribute name: getNumber<br>Error code: 401, 9001001, 9001002, 9001006|@ohos.resourceManager.d.ts|
|Error code added||Method or attribute name: getNumber<br>Error code: 401, 9001001, 9001002, 9001006|@ohos.resourceManager.d.ts|
|Error code added||Method or attribute name: getNumberByName<br>Error code: 401, 9001003, 9001004, 9001006|@ohos.resourceManager.d.ts|