openharmony 鸿蒙 js-apidiff-customization

2023-10-30 浏览 (343)
操作旧版本新版本d.ts文件
新增NA类名:adminManager;
方法or属性:function authorizeAdmin(admin: Want, bundleName: string, callback: AsyncCallback<void>): void;
@ohos.enterprise.adminManager.d.ts
新增NA类名:adminManager;
方法or属性:function authorizeAdmin(admin: Want, bundleName: string): Promise<void>;
@ohos.enterprise.adminManager.d.ts
新增NA类名:bundleManager;
方法or属性:function install(admin: Want, hapFilePaths: Array<string>, callback: AsyncCallback<void>): void;
@ohos.enterprise.bundleManager.d.ts
新增NA类名:bundleManager;
方法or属性:function install(admin: Want, hapFilePaths: Array<string>, installParam: InstallParam, callback: AsyncCallback<void>): void;
@ohos.enterprise.bundleManager.d.ts
新增NA类名:bundleManager;
方法or属性:function install(admin: Want, hapFilePaths: Array<string>, installParam?: InstallParam): Promise<void>;
@ohos.enterprise.bundleManager.d.ts
新增NA类名:InstallParam;
方法or属性:userId?: number;
@ohos.enterprise.bundleManager.d.ts
新增NA类名:InstallParam;
方法or属性:installFlag?: number;
@ohos.enterprise.bundleManager.d.ts
新增NA类名:deviceSettings;
方法or属性:function installUserCertificate(admin: Want, certificate: CertBlob, callback: AsyncCallback<string>): void;
@ohos.enterprise.deviceSettings.d.ts
新增NA类名:deviceSettings;
方法or属性:function installUserCertificate(admin: Want, certificate: CertBlob): Promise<string>;
@ohos.enterprise.deviceSettings.d.ts
新增NA类名:deviceSettings;
方法or属性:function uninstallUserCertificate(admin: Want, certUri: string, callback: AsyncCallback<void>): void;
@ohos.enterprise.deviceSettings.d.ts
新增NA类名:deviceSettings;
方法or属性:function uninstallUserCertificate(admin: Want, certUri: string): Promise<void>;
@ohos.enterprise.deviceSettings.d.ts
新增NA类名:CertBlob;
方法or属性:inData: Uint8Array;
@ohos.enterprise.deviceSettings.d.ts
新增NA类名:CertBlob;
方法or属性:alias: string;
@ohos.enterprise.deviceSettings.d.ts
新增NA类名:networkManager;
方法or属性:function setGlobalProxy(admin: Want, httpProxy: connection.HttpProxy, callback: AsyncCallback<void>): void;
@ohos.enterprise.networkManager.d.ts
新增NA类名:networkManager;
方法or属性:function setGlobalProxy(admin: Want, httpProxy: connection.HttpProxy): Promise<void>;
@ohos.enterprise.networkManager.d.ts
新增NA类名:networkManager;
方法or属性:function getGlobalProxy(admin: Want, callback: AsyncCallback<connection.HttpProxy>): void;
@ohos.enterprise.networkManager.d.ts
新增NA类名:networkManager;
方法or属性:function getGlobalProxy(admin: Want): Promise<connection.HttpProxy>;
@ohos.enterprise.networkManager.d.ts
新增NA类名:usbManager;
方法or属性:function setUsbPolicy(admin: Want, usbPolicy: UsbPolicy, callback: AsyncCallback<void>): void;
@ohos.enterprise.usbManager.d.ts
新增NA类名:usbManager;
方法or属性:function setUsbPolicy(admin: Want, usbPolicy: UsbPolicy): Promise<void>;
@ohos.enterprise.usbManager.d.ts
新增NA类名:UsbPolicy;
方法or属性:READ_WRITE = 0
@ohos.enterprise.usbManager.d.ts
新增NA类名:UsbPolicy;
方法or属性:READ_ONLY = 1
@ohos.enterprise.usbManager.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-dfx

  • 所属分类: 后端技术
  • 本文标签: 鸿蒙 软件
  • 版权声明: 本文链接 https://seaxiang.com/blog/aeb78ef2552a4ecc9c4c6fd02cd12bda