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