harmony 鸿蒙js-apidiff-global

  • 2023-06-24
  • 浏览 (719)

操作 旧版本 新版本 d.ts文件
新增 NA 类名:TimeZone
方法or属性:static getTimezonesByLocation(longitude: number, latitude: number): Array<TimeZone>;
@ohos.i18n.d.ts
新增 NA 模块名: ohos.i18n
类名: NormalizerMode
@ohos.i18n.d.ts
新增 NA 模块名: ohos.i18n
类名: NormalizerMode
方法 or 属性:NFC = 1
@ohos.i18n.d.ts
新增 NA 模块名: ohos.i18n
类名: NormalizerMode
方法 or 属性:NFD = 2
@ohos.i18n.d.ts
新增 NA 模块名: ohos.i18n
类名: NormalizerMode
方法 or 属性:NFKC = 3
@ohos.i18n.d.ts
新增 NA 模块名: ohos.i18n
类名: NormalizerMode
方法 or 属性:NFKD = 4
@ohos.i18n.d.ts
新增 NA 模块名: ohos.i18n
类名: Normalizer
@ohos.i18n.d.ts
新增 NA 模块名: ohos.i18n
类名: Normalizer
方法 or 属性:static getInstance(mode: NormalizerMode): Normalizer;
@ohos.i18n.d.ts
新增 NA 模块名: ohos.i18n
类名: Normalizer
方法 or 属性:normalize(text: string): string;
@ohos.i18n.d.ts
新增 NA 类名:ResourceManager
方法or属性:getStringSync(resId: number, …args: Array<string |number>): string;
@ohos.resourceManager.d.ts
新增 NA 类名:ResourceManager
方法or属性:getStringSync(resource: Resource, …args: Array<string |number>): string;
@ohos.resourceManager.d.ts
新增 NA 类名:ResourceManager
方法or属性:getStringByNameSync(resName: string, …args: Array<string |number>): string;
@ohos.resourceManager.d.ts
新增 NA 类名:ResourceManager
方法or属性:getDrawableDescriptor(resId: number, density?: number): DrawableDescriptor;
@ohos.resourceManager.d.ts
新增 NA 类名:ResourceManager
方法or属性:getDrawableDescriptorByName(resName: string, density?: number): DrawableDescriptor;
@ohos.resourceManager.d.ts
新增 NA 类名:ResourceManager
方法or属性:getDrawableDescriptor(resource: Resource, density?: number): DrawableDescriptor;
@ohos.resourceManager.d.ts
新增 NA 类名:ResourceManager
方法or属性:getRawFileList(path: string, callback: _AsyncCallback<Array<string>>): void;
@ohos.resourceManager.d.ts
新增 NA 类名:ResourceManager
方法or属性:getRawFileList(path: string): Promise<Array<string>>;
@ohos.resourceManager.d.ts

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Readme

harmony 鸿蒙js-apidiff-ability

harmony 鸿蒙js-apidiff-accessibility

harmony 鸿蒙js-apidiff-account

harmony 鸿蒙js-apidiff-arkui

harmony 鸿蒙js-apidiff-battery

harmony 鸿蒙js-apidiff-bundle

harmony 鸿蒙js-apidiff-communication

harmony 鸿蒙js-apidiff-compiler-and-runtime

harmony 鸿蒙js-apidiff-customization

0  赞