1| 操作 | 旧版本 | 新版本 | d.ts文件 |
2| ---- | ------ | ------ | -------- |
3|新增|NA|类名:SuggestionType;<br>方法or属性:SUGGESTION_TYPE_NONE = 0|@ohos.i18n.d.ts|
4|新增|NA|类名:SuggestionType;<br>方法or属性:SUGGESTION_TYPE_RELATED = 1|@ohos.i18n.d.ts|
5|新增|NA|类名:SuggestionType;<br>方法or属性:SUGGESTION_TYPE_SIM = 2|@ohos.i18n.d.ts|
6|新增|NA|类名:SortOptions;<br>方法or属性:locale?: string;|@ohos.i18n.d.ts|
7|新增|NA|类名:SortOptions;<br>方法or属性:isUseLocalName?: boolean;|@ohos.i18n.d.ts|
8|新增|NA|类名:SortOptions;<br>方法or属性:isSuggestedFirst?: boolean;|@ohos.i18n.d.ts|
9|新增|NA|类名:LocaleItem;<br>方法or属性:id: string;|@ohos.i18n.d.ts|
10|新增|NA|类名:LocaleItem;<br>方法or属性:suggestionType: SuggestionType;|@ohos.i18n.d.ts|
11|新增|NA|类名:LocaleItem;<br>方法or属性:displayName: string;|@ohos.i18n.d.ts|
12|新增|NA|类名:LocaleItem;<br>方法or属性:localName?: string;|@ohos.i18n.d.ts|
13|新增|NA|类名:TimeZoneCityItem;<br>方法or属性:zoneId: string;|@ohos.i18n.d.ts|
14|新增|NA|类名:TimeZoneCityItem;<br>方法or属性:cityId: string;|@ohos.i18n.d.ts|
15|新增|NA|类名:TimeZoneCityItem;<br>方法or属性:cityDisplayName: string;|@ohos.i18n.d.ts|
16|新增|NA|类名:TimeZoneCityItem;<br>方法or属性:offset: number;|@ohos.i18n.d.ts|
17|新增|NA|类名:TimeZoneCityItem;<br>方法or属性:zoneDisplayName: string;|@ohos.i18n.d.ts|
18|新增|NA|类名:TimeZoneCityItem;<br>方法or属性:rawOffset?: number;|@ohos.i18n.d.ts|
19|新增|NA|类名:SystemLocaleManager;<br>方法or属性:constructor();|@ohos.i18n.d.ts|
20|新增|NA|类名:SystemLocaleManager;<br>方法or属性:getLanguageInfoArray(languages: Array\<string>, options?: SortOptions): Array\<LocaleItem>;|@ohos.i18n.d.ts|
21|新增|NA|类名:SystemLocaleManager;<br>方法or属性:getRegionInfoArray(regions: Array\<string>, options?: SortOptions): Array\<LocaleItem>;|@ohos.i18n.d.ts|
22|新增|NA|类名:SystemLocaleManager;<br>方法or属性:static getTimeZoneCityItemArray(): Array\<TimeZoneCityItem>;|@ohos.i18n.d.ts|
23|新增|NA|类名:resourceManager;<br>方法or属性:export function getSystemResourceManager(): ResourceManager;|@ohos.resourceManager.d.ts|
24|新增|NA|类名:ResourceManager;<br>方法or属性:getColor(resId: number, callback: _AsyncCallback\<number>): void;|@ohos.resourceManager.d.ts|
25|新增|NA|类名:ResourceManager;<br>方法or属性:getColor(resId: number): Promise\<number>;|@ohos.resourceManager.d.ts|
26|新增|NA|类名:ResourceManager;<br>方法or属性:getColor(resource: Resource, callback: _AsyncCallback\<number>): void;|@ohos.resourceManager.d.ts|
27|新增|NA|类名:ResourceManager;<br>方法or属性:getColor(resource: Resource): Promise\<number>;|@ohos.resourceManager.d.ts|
28|新增|NA|类名:ResourceManager;<br>方法or属性:getColorByName(resName: string, callback: _AsyncCallback\<number>): void;|@ohos.resourceManager.d.ts|
29|新增|NA|类名:ResourceManager;<br>方法or属性:getColorByName(resName: string): Promise\<number>;|@ohos.resourceManager.d.ts|
30|新增|NA|类名:ResourceManager;<br>方法or属性:getColorSync(resId: number) : number;|@ohos.resourceManager.d.ts|
31|新增|NA|类名:ResourceManager;<br>方法or属性:getColorSync(resource: Resource) : number;|@ohos.resourceManager.d.ts|
32|新增|NA|类名:ResourceManager;<br>方法or属性:getColorByNameSync(resName: string) : number;|@ohos.resourceManager.d.ts|
33|新增|NA|类名:ResourceManager;<br>方法or属性:addResource(path: string) : void;|@ohos.resourceManager.d.ts|
34|新增|NA|类名:ResourceManager;<br>方法or属性:removeResource(path: string) : void;|@ohos.resourceManager.d.ts|
35