harmony 鸿蒙js-apidiff-global

  • 2023-10-30
  • 浏览 (361)

操作 旧版本 新版本 d.ts文件
新增 NA 类名:ResourceManager;
方法or属性:getRawFdSync(path: string): RawFileDescriptor;
@ohos.resourceManager.d.ts
新增 NA 类名:ResourceManager;
方法or属性:closeRawFdSync(path: string): void;
@ohos.resourceManager.d.ts
新增 NA 类名:ResourceManager;
方法or属性:getRawFileListSync(path: string): Array<string>;
@ohos.resourceManager.d.ts
新增 NA 类名:ResourceManager;
方法or属性:getRawFileContentSync(path: string): Uint8Array;
@ohos.resourceManager.d.ts
新增 NA 类名:ResourceManager;
方法or属性:getMediaContentSync(resId: number, density?: number): Uint8Array;
@ohos.resourceManager.d.ts
新增 NA 类名:ResourceManager;
方法or属性:getMediaContentSync(resource: Resource, density?: number): Uint8Array;
@ohos.resourceManager.d.ts
新增 NA 类名:ResourceManager;
方法or属性:getMediaContentBase64Sync(resId: number, density?: number): string;
@ohos.resourceManager.d.ts
新增 NA 类名:ResourceManager;
方法or属性:getMediaContentBase64Sync(resource: Resource, density?: number): string;
@ohos.resourceManager.d.ts
新增 NA 类名:ResourceManager;
方法or属性:getPluralStringValueSync(resId: number, num: number): string;
@ohos.resourceManager.d.ts
新增 NA 类名:ResourceManager;
方法or属性:getPluralStringValueSync(resource: Resource, num: number): string;
@ohos.resourceManager.d.ts
新增 NA 类名:ResourceManager;
方法or属性:getStringArrayValueSync(resId: number): Array<string>;
@ohos.resourceManager.d.ts
新增 NA 类名:ResourceManager;
方法or属性:getStringArrayValueSync(resource: Resource): Array<string>;
@ohos.resourceManager.d.ts
新增 NA 类名:ResourceManager;
方法or属性:getPluralStringByNameSync(resName: string, num: number): string;
@ohos.resourceManager.d.ts
新增 NA 类名:ResourceManager;
方法or属性:getMediaByNameSync(resName: string, density?: number): Uint8Array;
@ohos.resourceManager.d.ts
新增 NA 类名:ResourceManager;
方法or属性:getMediaBase64ByNameSync(resName: string, density?: number): string;
@ohos.resourceManager.d.ts
新增 NA 类名:ResourceManager;
方法or属性:getStringArrayByNameSync(resName: string): Array<string>;
@ohos.resourceManager.d.ts
新增 NA 类名:ResourceManager;
方法or属性:getConfigurationSync(): Configuration;
@ohos.resourceManager.d.ts
新增 NA 类名:ResourceManager;
方法or属性:getDeviceCapabilitySync(): DeviceCapability;
@ohos.resourceManager.d.ts
新增 NA 类名:Resource;
方法or属性:params?: any[];
resource.d.ts
新增 NA 类名:Resource;
方法or属性:type?: number;
resource.d.ts
model有变化 类名:ResourceManager;
方法or属性:getStringValue(resource: Resource, callback: _AsyncCallback<string>): void;
旧版本信息:
类名:ResourceManager;
方法or属性:getStringValue(resource: Resource, callback: _AsyncCallback<string>): void;
新版本信息:stagemodelonly
@ohos.resourceManager.d.ts
model有变化 类名:ResourceManager;
方法or属性:getStringValue(resource: Resource): Promise<string>;
旧版本信息:
类名:ResourceManager;
方法or属性:getStringValue(resource: Resource): Promise<string>;
新版本信息:stagemodelonly
@ohos.resourceManager.d.ts
model有变化 类名:ResourceManager;
方法or属性:getStringArrayValue(resource: Resource, callback: _AsyncCallback<Array<string>>): void;
旧版本信息:
类名:ResourceManager;
方法or属性:getStringArrayValue(resource: Resource, callback: _AsyncCallback<Array<string>>): void;
新版本信息:stagemodelonly
@ohos.resourceManager.d.ts
model有变化 类名:ResourceManager;
方法or属性:getStringArrayValue(resource: Resource): Promise<Array<string>>;
旧版本信息:
类名:ResourceManager;
方法or属性:getStringArrayValue(resource: Resource): Promise<Array<string>>;
新版本信息:stagemodelonly
@ohos.resourceManager.d.ts
model有变化 类名:ResourceManager;
方法or属性:getMediaContent(resource: Resource, callback: _AsyncCallback<Uint8Array>): void;
旧版本信息:
类名:ResourceManager;
方法or属性:getMediaContent(resource: Resource, callback: _AsyncCallback<Uint8Array>): void;
新版本信息:stagemodelonly
@ohos.resourceManager.d.ts
model有变化 类名:ResourceManager;
方法or属性:getMediaContent(resource: Resource): Promise<Uint8Array>;
旧版本信息:
类名:ResourceManager;
方法or属性:getMediaContent(resource: Resource): Promise<Uint8Array>;
新版本信息:stagemodelonly
@ohos.resourceManager.d.ts
model有变化 类名:ResourceManager;
方法or属性:getMediaContentBase64(resource: Resource, callback: _AsyncCallback<string>): void;
旧版本信息:
类名:ResourceManager;
方法or属性:getMediaContentBase64(resource: Resource, callback: _AsyncCallback<string>): void;
新版本信息:stagemodelonly
@ohos.resourceManager.d.ts
model有变化 类名:ResourceManager;
方法or属性:getMediaContentBase64(resource: Resource): Promise<string>;
旧版本信息:
类名:ResourceManager;
方法or属性:getMediaContentBase64(resource: Resource): Promise<string>;
新版本信息:stagemodelonly
@ohos.resourceManager.d.ts
model有变化 类名:ResourceManager;
方法or属性:getPluralStringValue(resource: Resource, num: number, callback: _AsyncCallback<string>): void;
旧版本信息:
类名:ResourceManager;
方法or属性:getPluralStringValue(resource: Resource, num: number, callback: _AsyncCallback<string>): void;
新版本信息:stagemodelonly
@ohos.resourceManager.d.ts
model有变化 类名:ResourceManager;
方法or属性:getPluralStringValue(resource: Resource, num: number): Promise<string>;
旧版本信息:
类名:ResourceManager;
方法or属性:getPluralStringValue(resource: Resource, num: number): Promise<string>;
新版本信息:stagemodelonly
@ohos.resourceManager.d.ts
model有变化 类名:ResourceManager;
方法or属性:getStringSync(resource: Resource): string;
旧版本信息:
类名:ResourceManager;
方法or属性:getStringSync(resource: Resource): string;
新版本信息:stagemodelonly
@ohos.resourceManager.d.ts
model有变化 类名:ResourceManager;
方法or属性:getStringSync(resource: Resource, …args: Array<string |number>): string;
旧版本信息:
类名:ResourceManager;
方法or属性:getStringSync(resource: Resource, …args: Array<string |number>): string;
新版本信息:stagemodelonly
@ohos.resourceManager.d.ts
model有变化 类名:ResourceManager;
方法or属性:getBoolean(resource: Resource): boolean;
旧版本信息:
类名:ResourceManager;
方法or属性:getBoolean(resource: Resource): boolean;
新版本信息:stagemodelonly
@ohos.resourceManager.d.ts
model有变化 类名:ResourceManager;
方法or属性:getNumber(resource: Resource): number;
旧版本信息:
类名:ResourceManager;
方法or属性:getNumber(resource: Resource): number;
新版本信息:stagemodelonly
@ohos.resourceManager.d.ts
model有变化 类名:ResourceManager;
方法or属性:getDrawableDescriptor(resource: Resource, density?: number): DrawableDescriptor;
旧版本信息:
类名:ResourceManager;
方法or属性:getDrawableDescriptor(resource: Resource, density?: number): DrawableDescriptor;
新版本信息:stagemodelonly
@ohos.resourceManager.d.ts
type有变化 类名:Resource;
方法or属性:bundleName: string;
旧版本信息:
类名:Resource;
方法or属性:bundleName: string;
新版本信息:string
resource.d.ts
type有变化 类名:Resource;
方法or属性:moduleName: string;
旧版本信息:
类名:Resource;
方法or属性:moduleName: string;
新版本信息:string
resource.d.ts
type有变化 类名:Resource;
方法or属性:id: number;
旧版本信息:
类名:Resource;
方法or属性:id: number;
新版本信息:number
resource.d.ts

你可能感兴趣的鸿蒙文章

harmony 鸿蒙js-apidiff-ability

harmony 鸿蒙js-apidiff-accessibility

harmony 鸿蒙js-apidiff-account

harmony 鸿蒙js-apidiff-ai

harmony 鸿蒙js-apidiff-application

harmony 鸿蒙js-apidiff-arkui

harmony 鸿蒙js-apidiff-bundle

harmony 鸿蒙js-apidiff-communication

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

harmony 鸿蒙js-apidiff-customization

0  赞