提交 cf2193e4 编写于 作者: W wangqing

刷新3.2release版本diff报告

Signed-off-by: Nwangqing <wangqing136@huawei.com>
上级 da3b346a
因为 它太大了无法显示 source diff 。你可以改为 查看blob
| 操作 | 旧版本 | 新版本 | d.ts文件 |
| ---- | ------ | ------ | -------- |
|新增|NA|模块名: ohos.enterprise.adminManager<br>类名: adminManager|@ohos.enterprise.adminManager.d.ts|
|新增|NA|模块名: ohos.enterprise.adminManager<br>类名: EnterpriseInfo|@ohos.enterprise.adminManager.d.ts|
|新增|NA|模块名: ohos.enterprise.adminManager<br>类名: EnterpriseInfo<br>方法 or 属性: name: string;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|模块名: ohos.enterprise.adminManager<br>类名: EnterpriseInfo<br>方法 or 属性: description: string;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|模块名: ohos.enterprise.adminManager<br>类名: AdminType|@ohos.enterprise.adminManager.d.ts|
|新增|NA|模块名: ohos.enterprise.adminManager<br>类名: AdminType<br>方法 or 属性: ADMIN_TYPE_NORMAL = 0x00|@ohos.enterprise.adminManager.d.ts|
|新增|NA|模块名: ohos.enterprise.adminManager<br>类名: AdminType<br>方法 or 属性: ADMIN_TYPE_SUPER = 0x01|@ohos.enterprise.adminManager.d.ts|
|新增|NA|模块名: ohos.enterprise.adminManager<br>类名: ManagedEvent|@ohos.enterprise.adminManager.d.ts|
|新增|NA|模块名: ohos.enterprise.adminManager<br>类名: ManagedEvent<br>方法 or 属性: MANAGED_EVENT_BUNDLE_ADDED = 0|@ohos.enterprise.adminManager.d.ts|
|新增|NA|模块名: ohos.enterprise.adminManager<br>类名: ManagedEvent<br>方法 or 属性: MANAGED_EVENT_BUNDLE_REMOVED = 1|@ohos.enterprise.adminManager.d.ts|
|新增|NA|模块名: ohos.enterprise.adminManager<br>类名: adminManager<br>方法 or 属性: function enableAdmin(admin: Want, enterpriseInfo: EnterpriseInfo, type: AdminType, callback: AsyncCallback\<void>): void;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|模块名: ohos.enterprise.adminManager<br>类名: adminManager<br>方法 or 属性: function enableAdmin(admin: Want, enterpriseInfo: EnterpriseInfo, type: AdminType, userId: number, callback: AsyncCallback\<void>): void;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|模块名: ohos.enterprise.adminManager<br>类名: adminManager<br>方法 or 属性: function enableAdmin(admin: Want, enterpriseInfo: EnterpriseInfo, type: AdminType, userId?: number): Promise\<void>;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|模块名: ohos.enterprise.adminManager<br>类名: adminManager<br>方法 or 属性: function disableAdmin(admin: Want, callback: AsyncCallback\<void>): void;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|模块名: ohos.enterprise.adminManager<br>类名: adminManager<br>方法 or 属性: function disableAdmin(admin: Want, userId: number, callback: AsyncCallback\<void>): void;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|模块名: ohos.enterprise.adminManager<br>类名: adminManager<br>方法 or 属性: function disableAdmin(admin: Want, userId?: number): Promise\<void>;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|模块名: ohos.enterprise.adminManager<br>类名: adminManager<br>方法 or 属性: function disableSuperAdmin(bundleName: String, callback: AsyncCallback\<void>): void;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|模块名: ohos.enterprise.adminManager<br>类名: adminManager<br>方法 or 属性: function disableSuperAdmin(bundleName: String): Promise\<void>;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|模块名: ohos.enterprise.adminManager<br>类名: adminManager<br>方法 or 属性: function isAdminEnabled(admin: Want, callback: AsyncCallback\<boolean>): void;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|模块名: ohos.enterprise.adminManager<br>类名: adminManager<br>方法 or 属性: function isAdminEnabled(admin: Want, userId: number, callback: AsyncCallback\<boolean>): void;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|模块名: ohos.enterprise.adminManager<br>类名: adminManager<br>方法 or 属性: function isAdminEnabled(admin: Want, userId?: number): Promise\<boolean>;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|模块名: ohos.enterprise.adminManager<br>类名: adminManager<br>方法 or 属性: function getEnterpriseInfo(admin: Want, callback: AsyncCallback\<EnterpriseInfo>): void;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|模块名: ohos.enterprise.adminManager<br>类名: adminManager<br>方法 or 属性: function getEnterpriseInfo(admin: Want): Promise\<EnterpriseInfo>;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|模块名: ohos.enterprise.adminManager<br>类名: adminManager<br>方法 or 属性: function setEnterpriseInfo(admin: Want, enterpriseInfo: EnterpriseInfo, callback: AsyncCallback\<void>): void;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|模块名: ohos.enterprise.adminManager<br>类名: adminManager<br>方法 or 属性: function setEnterpriseInfo(admin: Want, enterpriseInfo: EnterpriseInfo): Promise\<void>;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|模块名: ohos.enterprise.adminManager<br>类名: adminManager<br>方法 or 属性: function isSuperAdmin(bundleName: String, callback: AsyncCallback\<boolean>): void;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|模块名: ohos.enterprise.adminManager<br>类名: adminManager<br>方法 or 属性: function isSuperAdmin(bundleName: String): Promise\<boolean>;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|模块名: ohos.enterprise.adminManager<br>类名: adminManager<br>方法 or 属性: function subscribeManagedEvent(admin: Want, managedEvents: Array\<ManagedEvent>, callback: AsyncCallback\<void>): void;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|模块名: ohos.enterprise.adminManager<br>类名: adminManager<br>方法 or 属性: function subscribeManagedEvent(admin: Want, managedEvents: Array\<ManagedEvent>): Promise\<void>;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|模块名: ohos.enterprise.adminManager<br>类名: adminManager<br>方法 or 属性: function unsubscribeManagedEvent(admin: Want, managedEvents: Array\<ManagedEvent>, callback: AsyncCallback\<void>): void;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|模块名: ohos.enterprise.adminManager<br>类名: adminManager<br>方法 or 属性: function unsubscribeManagedEvent(admin: Want, managedEvents: Array\<ManagedEvent>): Promise\<void>;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|模块名: ohos.enterprise.dateTimeManager<br>类名: dateTimeManager|@ohos.enterprise.dateTimeManager.d.ts|
|新增|NA|模块名: ohos.enterprise.dateTimeManager<br>类名: dateTimeManager<br>方法 or 属性: function setDateTime(admin: Want, time: number, callback: AsyncCallback\<void>): void;|@ohos.enterprise.dateTimeManager.d.ts|
|新增|NA|模块名: ohos.enterprise.dateTimeManager<br>类名: dateTimeManager<br>方法 or 属性: function setDateTime(admin: Want, time: number): Promise\<void>;|@ohos.enterprise.dateTimeManager.d.ts|
|新增|NA|模块名: ohos.enterprise.EnterpriseAdminExtensionAbility<br>类名: EnterpriseAdminExtensionAbility|@ohos.enterprise.EnterpriseAdminExtensionAbility.d.ts|
|新增|NA|模块名: ohos.enterprise.EnterpriseAdminExtensionAbility<br>类名: EnterpriseAdminExtensionAbility<br>方法 or 属性: onAdminEnabled(): void;|@ohos.enterprise.EnterpriseAdminExtensionAbility.d.ts|
|新增|NA|模块名: ohos.enterprise.EnterpriseAdminExtensionAbility<br>类名: EnterpriseAdminExtensionAbility<br>方法 or 属性: onAdminDisabled(): void;|@ohos.enterprise.EnterpriseAdminExtensionAbility.d.ts|
|新增|NA|模块名: ohos.enterprise.EnterpriseAdminExtensionAbility<br>类名: EnterpriseAdminExtensionAbility<br>方法 or 属性: onBundleAdded(bundleName: string): void;|@ohos.enterprise.EnterpriseAdminExtensionAbility.d.ts|
|新增|NA|模块名: ohos.enterprise.EnterpriseAdminExtensionAbility<br>类名: EnterpriseAdminExtensionAbility<br>方法 or 属性: onBundleRemoved(bundleName: string): void;|@ohos.enterprise.EnterpriseAdminExtensionAbility.d.ts|
|访问级别有变化|类名:configPolicy<br>访问级别:公开API|类名:configPolicy<br>访问级别:系统API|@ohos.configPolicy.d.ts|
|新增(错误码)|NA|类名:configPolicy<br>方法 or 属性:function getOneCfgFile(relPath: string, callback: AsyncCallback\<string>);<br>错误码内容: 401|@ohos.configPolicy.d.ts|
|新增(错误码)|NA|类名:configPolicy<br>方法 or 属性:function getOneCfgFile(relPath: string): Promise\<string>;<br>错误码内容: 401|@ohos.configPolicy.d.ts|
|新增(错误码)|NA|类名:configPolicy<br>方法 or 属性:function getCfgFiles(relPath: string, callback: AsyncCallback\<Array\<string>>);<br>错误码内容: 401|@ohos.configPolicy.d.ts|
|新增(错误码)|NA|类名:configPolicy<br>方法 or 属性:function getCfgFiles(relPath: string): Promise\<Array\<string>>;<br>错误码内容: 401|@ohos.configPolicy.d.ts|
|新增(错误码)|NA|类名:configPolicy<br>方法 or 属性:function getCfgDirList(callback: AsyncCallback\<Array\<string>>);<br>错误码内容: 401|@ohos.configPolicy.d.ts|
|新增(错误码)|NA|类名:configPolicy<br>方法 or 属性:function getCfgDirList(): Promise\<Array\<string>>;<br>错误码内容: 401|@ohos.configPolicy.d.ts|
|新增|NA|类名:adminManager;<br>方法or属性:function enableAdmin(admin: Want, enterpriseInfo: EnterpriseInfo, type: AdminType, callback: AsyncCallback\<void>): void;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|类名:adminManager;<br>方法or属性:function enableAdmin(admin: Want, enterpriseInfo: EnterpriseInfo, type: AdminType, userId: number, callback: AsyncCallback\<void>): void;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|类名:adminManager;<br>方法or属性:function enableAdmin(admin: Want, enterpriseInfo: EnterpriseInfo, type: AdminType, userId?: number): Promise\<void>;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|类名:adminManager;<br>方法or属性:function disableAdmin(admin: Want, callback: AsyncCallback\<void>): void;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|类名:adminManager;<br>方法or属性:function disableAdmin(admin: Want, userId: number, callback: AsyncCallback\<void>): void;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|类名:adminManager;<br>方法or属性:function disableAdmin(admin: Want, userId?: number): Promise\<void>;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|类名:adminManager;<br>方法or属性:function disableSuperAdmin(bundleName: String, callback: AsyncCallback\<void>): void;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|类名:adminManager;<br>方法or属性:function disableSuperAdmin(bundleName: String): Promise\<void>;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|类名:adminManager;<br>方法or属性:function isAdminEnabled(admin: Want, callback: AsyncCallback\<boolean>): void;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|类名:adminManager;<br>方法or属性:function isAdminEnabled(admin: Want, userId: number, callback: AsyncCallback\<boolean>): void;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|类名:adminManager;<br>方法or属性:function isAdminEnabled(admin: Want, userId?: number): Promise\<boolean>;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|类名:adminManager;<br>方法or属性:function getEnterpriseInfo(admin: Want, callback: AsyncCallback\<EnterpriseInfo>): void;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|类名:adminManager;<br>方法or属性:function getEnterpriseInfo(admin: Want): Promise\<EnterpriseInfo>;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|类名:adminManager;<br>方法or属性:function setEnterpriseInfo(admin: Want, enterpriseInfo: EnterpriseInfo, callback: AsyncCallback\<void>): void;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|类名:adminManager;<br>方法or属性:function setEnterpriseInfo(admin: Want, enterpriseInfo: EnterpriseInfo): Promise\<void>;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|类名:adminManager;<br>方法or属性:function isSuperAdmin(bundleName: String, callback: AsyncCallback\<boolean>): void;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|类名:adminManager;<br>方法or属性:function isSuperAdmin(bundleName: String): Promise\<boolean>;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|类名:adminManager;<br>方法or属性:function subscribeManagedEvent(admin: Want, managedEvents: Array\<ManagedEvent>, callback: AsyncCallback\<void>): void;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|类名:adminManager;<br>方法or属性:function subscribeManagedEvent(admin: Want, managedEvents: Array\<ManagedEvent>): Promise\<void>;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|类名:adminManager;<br>方法or属性:function unsubscribeManagedEvent(admin: Want, managedEvents: Array\<ManagedEvent>, callback: AsyncCallback\<void>): void;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|类名:adminManager;<br>方法or属性:function unsubscribeManagedEvent(admin: Want, managedEvents: Array\<ManagedEvent>): Promise\<void>;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|类名:EnterpriseInfo;<br>方法or属性:name: string;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|类名:EnterpriseInfo;<br>方法or属性:description: string;|@ohos.enterprise.adminManager.d.ts|
|新增|NA|类名:AdminType;<br>方法or属性:ADMIN_TYPE_NORMAL = 0x00|@ohos.enterprise.adminManager.d.ts|
|新增|NA|类名:AdminType;<br>方法or属性:ADMIN_TYPE_SUPER = 0x01|@ohos.enterprise.adminManager.d.ts|
|新增|NA|类名:ManagedEvent;<br>方法or属性:MANAGED_EVENT_BUNDLE_ADDED = 0|@ohos.enterprise.adminManager.d.ts|
|新增|NA|类名:ManagedEvent;<br>方法or属性:MANAGED_EVENT_BUNDLE_REMOVED = 1|@ohos.enterprise.adminManager.d.ts|
|新增|NA|类名:dateTimeManager;<br>方法or属性:function setDateTime(admin: Want, time: number, callback: AsyncCallback\<void>): void;|@ohos.enterprise.dateTimeManager.d.ts|
|新增|NA|类名:dateTimeManager;<br>方法or属性:function setDateTime(admin: Want, time: number): Promise\<void>;|@ohos.enterprise.dateTimeManager.d.ts|
|新增|NA|类名:EnterpriseAdminExtensionAbility;<br>方法or属性:onAdminEnabled(): void;|@ohos.enterprise.EnterpriseAdminExtensionAbility.d.ts|
|新增|NA|类名:EnterpriseAdminExtensionAbility;<br>方法or属性:onAdminDisabled(): void;|@ohos.enterprise.EnterpriseAdminExtensionAbility.d.ts|
|新增|NA|类名:EnterpriseAdminExtensionAbility;<br>方法or属性:onBundleAdded(bundleName: string): void;|@ohos.enterprise.EnterpriseAdminExtensionAbility.d.ts|
|新增|NA|类名:EnterpriseAdminExtensionAbility;<br>方法or属性:onBundleRemoved(bundleName: string): void;|@ohos.enterprise.EnterpriseAdminExtensionAbility.d.ts|
|新增(错误码)|类名:configPolicy;<br>方法or属性:function getOneCfgFile(relPath: string, callback: AsyncCallback\<string>);<br>旧版本信息:|类名:configPolicy;<br>方法or属性:function getOneCfgFile(relPath: string, callback: AsyncCallback\<string>);<br>新版本信息:401|@ohos.configPolicy.d.ts|
|新增(错误码)|类名:configPolicy;<br>方法or属性:function getOneCfgFile(relPath: string): Promise\<string>;<br>旧版本信息:|类名:configPolicy;<br>方法or属性:function getOneCfgFile(relPath: string): Promise\<string>;<br>新版本信息:401|@ohos.configPolicy.d.ts|
|新增(错误码)|类名:configPolicy;<br>方法or属性:function getCfgFiles(relPath: string, callback: AsyncCallback\<Array\<string>>);<br>旧版本信息:|类名:configPolicy;<br>方法or属性:function getCfgFiles(relPath: string, callback: AsyncCallback\<Array\<string>>);<br>新版本信息:401|@ohos.configPolicy.d.ts|
|新增(错误码)|类名:configPolicy;<br>方法or属性:function getCfgFiles(relPath: string): Promise\<Array\<string>>;<br>旧版本信息:|类名:configPolicy;<br>方法or属性:function getCfgFiles(relPath: string): Promise\<Array\<string>>;<br>新版本信息:401|@ohos.configPolicy.d.ts|
|新增(错误码)|类名:configPolicy;<br>方法or属性:function getCfgDirList(callback: AsyncCallback\<Array\<string>>);<br>旧版本信息:|类名:configPolicy;<br>方法or属性:function getCfgDirList(callback: AsyncCallback\<Array\<string>>);<br>新版本信息:401|@ohos.configPolicy.d.ts|
|新增(错误码)|类名:configPolicy;<br>方法or属性:function getCfgDirList(): Promise\<Array\<string>>;<br>旧版本信息:|类名:configPolicy;<br>方法or属性:function getCfgDirList(): Promise\<Array\<string>>;<br>新版本信息:401|@ohos.configPolicy.d.ts|
|访问级别有变化|类名:configPolicy;<br>方法or属性:declare configPolicy<br>旧版本信息:|类名:configPolicy;<br>方法or属性:declare configPolicy<br>新版本信息:systemapi|@ohos.configPolicy.d.ts|
| 操作 | 旧版本 | 新版本 | d.ts文件 |
| ---- | ------ | ------ | -------- |
|新增|NA|类名:systemCapability;<br>方法or属性:function querySystemCapabilities(callback: AsyncCallback\<string>): void;|@ohos.systemCapability.d.ts|
|新增|NA|类名:systemCapability;<br>方法or属性:function querySystemCapabilities(): Promise\<string>;|@ohos.systemCapability.d.ts|
| 操作 | 旧版本 | 新版本 | d.ts文件 |
| ---- | ------ | ------ | -------- |
|新增|NA|模块名: ohos.distributedHardware.deviceManager<br>类名: DeviceInfo<br>方法 or 属性:range: number;|@ohos.distributedHardware.deviceManager.d.ts|
|新增|NA|类名:DeviceInfo<br>方法or属性:range: number;|@ohos.distributedHardware.deviceManager.d.ts|
|新增|NA|模块名: ohos.distributedHardware.deviceManager<br>类名: PublishInfo|@ohos.distributedHardware.deviceManager.d.ts|
|新增|NA|类名:PublishInfo<br>方法or属性:|@ohos.distributedHardware.deviceManager.d.ts|
|新增|NA|模块名: ohos.distributedHardware.deviceManager<br>类名: PublishInfo<br>方法 or 属性:publishId: number;|@ohos.distributedHardware.deviceManager.d.ts|
|新增|NA|类名:PublishInfo<br>方法or属性:publishId: number;|@ohos.distributedHardware.deviceManager.d.ts|
|新增|NA|模块名: ohos.distributedHardware.deviceManager<br>类名: PublishInfo<br>方法 or 属性:mode: DiscoverMode;|@ohos.distributedHardware.deviceManager.d.ts|
|新增|NA|类名:PublishInfo<br>方法or属性:mode: DiscoverMode;|@ohos.distributedHardware.deviceManager.d.ts|
|新增|NA|模块名: ohos.distributedHardware.deviceManager<br>类名: PublishInfo<br>方法 or 属性:freq: ExchangeFreq;|@ohos.distributedHardware.deviceManager.d.ts|
|新增|NA|类名:PublishInfo<br>方法or属性:freq: ExchangeFreq;|@ohos.distributedHardware.deviceManager.d.ts|
|新增|NA|模块名: ohos.distributedHardware.deviceManager<br>类名: PublishInfo<br>方法 or 属性:ranging : boolean;|@ohos.distributedHardware.deviceManager.d.ts|
|新增|NA|类名:PublishInfo<br>方法or属性:ranging : boolean;|@ohos.distributedHardware.deviceManager.d.ts|
|新增|NA|类名:DeviceManager<br>方法or属性:startDeviceDiscovery(subscribeInfo: SubscribeInfo, filterOptions?: string): void;|@ohos.distributedHardware.deviceManager.d.ts|
|新增|NA|类名:DeviceManager<br>方法or属性:publishDeviceDiscovery(publishInfo: PublishInfo): void;|@ohos.distributedHardware.deviceManager.d.ts|
|新增|NA|类名:DeviceManager<br>方法or属性:unPublishDeviceDiscovery(publishId: number): void;|@ohos.distributedHardware.deviceManager.d.ts|
|新增|NA|类名:DeviceManager<br>方法or属性:setUserOperation(operateAction: number, params: string): void;|@ohos.distributedHardware.deviceManager.d.ts|
|新增|NA|类名:DeviceManager<br>方法or属性:on(type: 'uiStateChange', callback: Callback\<{ param: string}>): void;|@ohos.distributedHardware.deviceManager.d.ts|
|新增|NA|类名:DeviceManager<br>方法or属性:off(type: 'uiStateChange', callback?: Callback\<{ param: string}>): void;|@ohos.distributedHardware.deviceManager.d.ts|
|新增|NA|类名:DeviceManager<br>方法or属性:on(type: 'publishSuccess', callback: Callback\<{ publishId: number }>): void;|@ohos.distributedHardware.deviceManager.d.ts|
|新增|NA|类名:DeviceManager<br>方法or属性:off(type: 'publishSuccess', callback?: Callback\<{ publishId: number }>): void;|@ohos.distributedHardware.deviceManager.d.ts|
|新增|NA|类名:DeviceManager<br>方法or属性:on(type: 'publishFail', callback: Callback\<{ publishId: number, reason: number }>): void;|@ohos.distributedHardware.deviceManager.d.ts|
|新增|NA|类名:DeviceManager<br>方法or属性:off(type: 'publishFail', callback?: Callback\<{ publishId: number, reason: number }>): void;|@ohos.distributedHardware.deviceManager.d.ts|
|访问级别有变化|类名:DeviceType<br>访问级别:公开API|类名:DeviceType<br>访问级别:系统API|@ohos.distributedHardware.deviceManager.d.ts|
|起始版本有变化|类名:DeviceManager<br>方法 or 属性:startDeviceDiscovery(subscribeInfo: SubscribeInfo): void;<br>起始版本:N/A|类名:DeviceManager<br>方法 or 属性:startDeviceDiscovery(subscribeInfo: SubscribeInfo): void;<br>起始版本:8|@ohos.distributedHardware.deviceManager.d.ts|
|新增(错误码)|NA|类名:deviceManager<br>方法 or 属性:function createDeviceManager(bundleName: string, callback: AsyncCallback\<DeviceManager>): void;<br>错误码内容: 401|@ohos.distributedHardware.deviceManager.d.ts|
|新增(错误码)|NA|类名:DeviceManager<br>方法 or 属性:release(): void;<br>错误码内容: 11600101|@ohos.distributedHardware.deviceManager.d.ts|
|新增(错误码)|NA|类名:DeviceManager<br>方法 or 属性:getTrustedDeviceListSync(): Array\<DeviceInfo>;<br>错误码内容: 401, 11600101|@ohos.distributedHardware.deviceManager.d.ts|
|新增(错误码)|NA|类名:DeviceManager<br>方法 or 属性:getTrustedDeviceList(callback:AsyncCallback\<Array\<DeviceInfo>>): void;<br>错误码内容: 401|@ohos.distributedHardware.deviceManager.d.ts|
|新增(错误码)|NA|类名:DeviceManager<br>方法 or 属性:getTrustedDeviceList(): Promise\<Array\<DeviceInfo>>;<br>错误码内容: 401|@ohos.distributedHardware.deviceManager.d.ts|
|新增(错误码)|NA|类名:DeviceManager<br>方法 or 属性:getLocalDeviceInfoSync(): DeviceInfo;<br>错误码内容: 401, 11600101|@ohos.distributedHardware.deviceManager.d.ts|
|新增(错误码)|NA|类名:DeviceManager<br>方法 or 属性:getLocalDeviceInfo(callback:AsyncCallback\<DeviceInfo>): void;<br>错误码内容: 401|@ohos.distributedHardware.deviceManager.d.ts|
|新增(错误码)|NA|类名:DeviceManager<br>方法 or 属性:getLocalDeviceInfo(): Promise\<DeviceInfo>;<br>错误码内容: 401|@ohos.distributedHardware.deviceManager.d.ts|
|新增(错误码)|NA|类名:DeviceManager<br>方法 or 属性:startDeviceDiscovery(subscribeInfo: SubscribeInfo): void;<br>错误码内容: 401, 201, 11600104, 11600101|@ohos.distributedHardware.deviceManager.d.ts|
|新增(错误码)|NA|类名:DeviceManager<br>方法 or 属性:stopDeviceDiscovery(subscribeId: number): void;<br>错误码内容: 401, 201, 11600101|@ohos.distributedHardware.deviceManager.d.ts|
|新增(错误码)|NA|类名:DeviceManager<br>方法 or 属性:unAuthenticateDevice(deviceInfo: DeviceInfo): void<br>错误码内容: 401, 201, 11600101|@ohos.distributedHardware.deviceManager.d.ts|
|新增(错误码)|NA|类名:DeviceManager<br>方法 or 属性:verifyAuthInfo(authInfo: AuthInfo, callback: AsyncCallback\<{deviceId: string, level: number}>): void;<br>错误码内容: 401|@ohos.distributedHardware.deviceManager.d.ts|
|新增(错误码)|NA|类名:DeviceManager<br>方法 or 属性:on(type: 'deviceStateChange', callback: Callback\<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void;<br>错误码内容: 401|@ohos.distributedHardware.deviceManager.d.ts|
|新增(错误码)|NA|类名:DeviceManager<br>方法 or 属性:off(type: 'deviceStateChange', callback?: Callback\<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void;<br>错误码内容: 401|@ohos.distributedHardware.deviceManager.d.ts|
|新增(错误码)|NA|类名:DeviceManager<br>方法 or 属性:on(type: 'deviceFound', callback: Callback\<{ subscribeId: number, device: DeviceInfo }>): void;<br>错误码内容: 401|@ohos.distributedHardware.deviceManager.d.ts|
|新增(错误码)|NA|类名:DeviceManager<br>方法 or 属性:off(type: 'deviceFound', callback?: Callback\<{ subscribeId: number, device: DeviceInfo }>): void;<br>错误码内容: 401|@ohos.distributedHardware.deviceManager.d.ts|
|新增(错误码)|NA|类名:DeviceManager<br>方法 or 属性:on(type: 'discoverFail', callback: Callback\<{ subscribeId: number, reason: number }>): void;<br>错误码内容: 401|@ohos.distributedHardware.deviceManager.d.ts|
|新增(错误码)|NA|类名:DeviceManager<br>方法 or 属性:off(type: 'discoverFail', callback?: Callback\<{ subscribeId: number, reason: number }>): void;<br>错误码内容: 401|@ohos.distributedHardware.deviceManager.d.ts|
|新增(错误码)|NA|类名:DeviceManager<br>方法 or 属性:on(type: 'serviceDie', callback: () => void): void;<br>错误码内容: 401|@ohos.distributedHardware.deviceManager.d.ts|
|新增(错误码)|NA|类名:DeviceManager<br>方法 or 属性:off(type: 'serviceDie', callback?: () => void): void;<br>错误码内容: 401|@ohos.distributedHardware.deviceManager.d.ts|
|函数有变化|类名:DeviceManager<br>方法 or 属性:authenticateDevice(deviceInfo: DeviceInfo, authParam: AuthParam, callback: AsyncCallback\<{deviceId: string, pinTone ?: number}>): void;<br>|类名:DeviceManager<br>方法 or 属性:authenticateDevice(deviceInfo: DeviceInfo, authParam: AuthParam, callback: AsyncCallback\<{deviceId: string, pinToken ?: number}>): void;<br>|@ohos.distributedHardware.deviceManager.d.ts|
|新增|NA|类名:DeviceInfo;<br>方法or属性:range: number;|@ohos.distributedHardware.deviceManager.d.ts|
|新增|NA|类名:PublishInfo;<br>方法or属性:publishId: number;|@ohos.distributedHardware.deviceManager.d.ts|
|新增|NA|类名:PublishInfo;<br>方法or属性:mode: DiscoverMode;|@ohos.distributedHardware.deviceManager.d.ts|
|新增|NA|类名:PublishInfo;<br>方法or属性:freq: ExchangeFreq;|@ohos.distributedHardware.deviceManager.d.ts|
|新增|NA|类名:PublishInfo;<br>方法or属性:ranging : boolean;|@ohos.distributedHardware.deviceManager.d.ts|
|新增|NA|类名:DeviceManager;<br>方法or属性:startDeviceDiscovery(subscribeInfo: SubscribeInfo, filterOptions?: string): void;|@ohos.distributedHardware.deviceManager.d.ts|
|新增|NA|类名:DeviceManager;<br>方法or属性:publishDeviceDiscovery(publishInfo: PublishInfo): void;|@ohos.distributedHardware.deviceManager.d.ts|
|新增|NA|类名:DeviceManager;<br>方法or属性:unPublishDeviceDiscovery(publishId: number): void;|@ohos.distributedHardware.deviceManager.d.ts|
|新增|NA|类名:DeviceManager;<br>方法or属性:setUserOperation(operateAction: number, params: string): void;|@ohos.distributedHardware.deviceManager.d.ts|
|新增|NA|类名:DeviceManager;<br>方法or属性:on(type: 'uiStateChange', callback: Callback\<{ param: string}>): void;|@ohos.distributedHardware.deviceManager.d.ts|
|新增|NA|类名:DeviceManager;<br>方法or属性:on(type: 'publishSuccess', callback: Callback\<{ publishId: number }>): void;|@ohos.distributedHardware.deviceManager.d.ts|
|新增|NA|类名:DeviceManager;<br>方法or属性:on(type: 'publishFail', callback: Callback\<{ publishId: number, reason: number }>): void;|@ohos.distributedHardware.deviceManager.d.ts|
|新增|NA|类名:DeviceManager;<br>方法or属性:off(type: 'uiStateChange', callback?: Callback\<{ param: string}>): void;|@ohos.distributedHardware.deviceManager.d.ts|
|新增|NA|类名:DeviceManager;<br>方法or属性:off(type: 'publishSuccess', callback?: Callback\<{ publishId: number }>): void;|@ohos.distributedHardware.deviceManager.d.ts|
|新增|NA|类名:DeviceManager;<br>方法or属性:off(type: 'publishFail', callback?: Callback\<{ publishId: number, reason: number }>): void;|@ohos.distributedHardware.deviceManager.d.ts|
|新增(错误码)|类名:deviceManager;<br>方法or属性:function createDeviceManager(bundleName: string, callback: AsyncCallback\<DeviceManager>): void;<br>旧版本信息:|类名:deviceManager;<br>方法or属性:function createDeviceManager(bundleName: string, callback: AsyncCallback\<DeviceManager>): void;<br>新版本信息:401|@ohos.distributedHardware.deviceManager.d.ts|
|新增(错误码)|类名:DeviceManager;<br>方法or属性:release(): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:release(): void;<br>新版本信息:11600101|@ohos.distributedHardware.deviceManager.d.ts|
|新增(错误码)|类名:DeviceManager;<br>方法or属性:getTrustedDeviceListSync(): Array\<DeviceInfo>;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:getTrustedDeviceListSync(): Array\<DeviceInfo>;<br>新版本信息:401,11600101|@ohos.distributedHardware.deviceManager.d.ts|
|新增(错误码)|类名:DeviceManager;<br>方法or属性:getTrustedDeviceList(callback:AsyncCallback\<Array\<DeviceInfo>>): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:getTrustedDeviceList(callback:AsyncCallback\<Array\<DeviceInfo>>): void;<br>新版本信息:401|@ohos.distributedHardware.deviceManager.d.ts|
|新增(错误码)|类名:DeviceManager;<br>方法or属性:getTrustedDeviceList(): Promise\<Array\<DeviceInfo>>;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:getTrustedDeviceList(): Promise\<Array\<DeviceInfo>>;<br>新版本信息:401|@ohos.distributedHardware.deviceManager.d.ts|
|新增(错误码)|类名:DeviceManager;<br>方法or属性:getLocalDeviceInfoSync(): DeviceInfo;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:getLocalDeviceInfoSync(): DeviceInfo;<br>新版本信息:401,11600101|@ohos.distributedHardware.deviceManager.d.ts|
|新增(错误码)|类名:DeviceManager;<br>方法or属性:getLocalDeviceInfo(callback:AsyncCallback\<DeviceInfo>): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:getLocalDeviceInfo(callback:AsyncCallback\<DeviceInfo>): void;<br>新版本信息:401|@ohos.distributedHardware.deviceManager.d.ts|
|新增(错误码)|类名:DeviceManager;<br>方法or属性:getLocalDeviceInfo(): Promise\<DeviceInfo>;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:getLocalDeviceInfo(): Promise\<DeviceInfo>;<br>新版本信息:401|@ohos.distributedHardware.deviceManager.d.ts|
|新增(错误码)|类名:DeviceManager;<br>方法or属性:startDeviceDiscovery(subscribeInfo: SubscribeInfo): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:startDeviceDiscovery(subscribeInfo: SubscribeInfo): void;<br>新版本信息:401,201,11600104,11600101|@ohos.distributedHardware.deviceManager.d.ts|
|新增(错误码)|类名:DeviceManager;<br>方法or属性:stopDeviceDiscovery(subscribeId: number): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:stopDeviceDiscovery(subscribeId: number): void;<br>新版本信息:401,201,11600101|@ohos.distributedHardware.deviceManager.d.ts|
|新增(错误码)|类名:DeviceManager;<br>方法or属性:authenticateDevice(deviceInfo: DeviceInfo, authParam: AuthParam, callback: AsyncCallback\<{deviceId: string, pinToken ?: number}>): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:authenticateDevice(deviceInfo: DeviceInfo, authParam: AuthParam, callback: AsyncCallback\<{deviceId: string, pinToken ?: number}>): void;<br>新版本信息:401|@ohos.distributedHardware.deviceManager.d.ts|
|新增(错误码)|类名:DeviceManager;<br>方法or属性:unAuthenticateDevice(deviceInfo: DeviceInfo): void<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:unAuthenticateDevice(deviceInfo: DeviceInfo): void<br>新版本信息:401,201,11600101|@ohos.distributedHardware.deviceManager.d.ts|
|新增(错误码)|类名:DeviceManager;<br>方法or属性:verifyAuthInfo(authInfo: AuthInfo, callback: AsyncCallback\<{deviceId: string, level: number}>): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:verifyAuthInfo(authInfo: AuthInfo, callback: AsyncCallback\<{deviceId: string, level: number}>): void;<br>新版本信息:401|@ohos.distributedHardware.deviceManager.d.ts|
|新增(错误码)|类名:DeviceManager;<br>方法or属性:on(type: 'deviceStateChange', callback: Callback\<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:on(type: 'deviceStateChange', callback: Callback\<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void;<br>新版本信息:401|@ohos.distributedHardware.deviceManager.d.ts|
|新增(错误码)|类名:DeviceManager;<br>方法or属性:on(type: 'deviceFound', callback: Callback\<{ subscribeId: number, device: DeviceInfo }>): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:on(type: 'deviceFound', callback: Callback\<{ subscribeId: number, device: DeviceInfo }>): void;<br>新版本信息:401|@ohos.distributedHardware.deviceManager.d.ts|
|新增(错误码)|类名:DeviceManager;<br>方法or属性:on(type: 'discoverFail', callback: Callback\<{ subscribeId: number, reason: number }>): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:on(type: 'discoverFail', callback: Callback\<{ subscribeId: number, reason: number }>): void;<br>新版本信息:401|@ohos.distributedHardware.deviceManager.d.ts|
|新增(错误码)|类名:DeviceManager;<br>方法or属性:on(type: 'serviceDie', callback: () => void): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:on(type: 'serviceDie', callback: () => void): void;<br>新版本信息:401|@ohos.distributedHardware.deviceManager.d.ts|
|新增(错误码)|类名:DeviceManager;<br>方法or属性:off(type: 'deviceStateChange', callback?: Callback\<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:off(type: 'deviceStateChange', callback?: Callback\<{ action: DeviceStateChangeAction, device: DeviceInfo }>): void;<br>新版本信息:401|@ohos.distributedHardware.deviceManager.d.ts|
|新增(错误码)|类名:DeviceManager;<br>方法or属性:off(type: 'deviceFound', callback?: Callback\<{ subscribeId: number, device: DeviceInfo }>): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:off(type: 'deviceFound', callback?: Callback\<{ subscribeId: number, device: DeviceInfo }>): void;<br>新版本信息:401|@ohos.distributedHardware.deviceManager.d.ts|
|新增(错误码)|类名:DeviceManager;<br>方法or属性:off(type: 'discoverFail', callback?: Callback\<{ subscribeId: number, reason: number }>): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:off(type: 'discoverFail', callback?: Callback\<{ subscribeId: number, reason: number }>): void;<br>新版本信息:401|@ohos.distributedHardware.deviceManager.d.ts|
|新增(错误码)|类名:DeviceManager;<br>方法or属性:off(type: 'serviceDie', callback?: () => void): void;<br>旧版本信息:|类名:DeviceManager;<br>方法or属性:off(type: 'serviceDie', callback?: () => void): void;<br>新版本信息:401|@ohos.distributedHardware.deviceManager.d.ts|
|访问级别有变化|类名:DeviceType;<br>方法or属性:enum DeviceType<br>旧版本信息:|类名:DeviceType;<br>方法or属性:enum DeviceType<br>新版本信息:systemapi|@ohos.distributedHardware.deviceManager.d.ts|
|函数有变化|类名:DeviceManager;<br>方法or属性:authenticateDevice(deviceInfo: DeviceInfo, authParam: AuthParam, callback: AsyncCallback\<{deviceId: string, pinTone ?: number}>): void;|类名:DeviceManager;<br>方法or属性:authenticateDevice(deviceInfo: DeviceInfo, authParam: AuthParam, callback: AsyncCallback\<{deviceId: string, pinToken ?: number}>): void;|@ohos.distributedHardware.deviceManager.d.ts|
| 操作 | 旧版本 | 新版本 | d.ts文件 |
| ---- | ------ | ------ | -------- |
|新增|NA|模块名: ohos.stationary<br>类名: stationary|@ohos.stationary.d.ts|
|新增|NA|模块名: ohos.stationary<br>类名: ActivityType<br>方法 or 属性: type ActivityType = 'still' \| 'relativeStill';|@ohos.stationary.d.ts|
|新增|NA|模块名: ohos.stationary<br>类名: ActivityType<br>方法 or 属性: type ActivityType = 'still' \| 'relativeStill';|@ohos.stationary.d.ts|
|新增|NA|模块名: ohos.stationary<br>类名: ActivityResponse|@ohos.stationary.d.ts|
|新增|NA|模块名: ohos.stationary<br>类名: ActivityResponse<br>方法 or 属性: state: ActivityState;|@ohos.stationary.d.ts|
|新增|NA|模块名: ohos.stationary<br>类名: ActivityEvent|@ohos.stationary.d.ts|
|新增|NA|模块名: ohos.stationary<br>类名: ActivityEvent<br>方法 or 属性: ENTER = 1|@ohos.stationary.d.ts|
|新增|NA|模块名: ohos.stationary<br>类名: ActivityEvent<br>方法 or 属性: EXIT = 2|@ohos.stationary.d.ts|
|新增|NA|模块名: ohos.stationary<br>类名: ActivityEvent<br>方法 or 属性: ENTER_EXIT = 3|@ohos.stationary.d.ts|
|新增|NA|模块名: ohos.stationary<br>类名: ActivityState|@ohos.stationary.d.ts|
|新增|NA|模块名: ohos.stationary<br>类名: ActivityState<br>方法 or 属性: ENTER = 1|@ohos.stationary.d.ts|
|新增|NA|模块名: ohos.stationary<br>类名: ActivityState<br>方法 or 属性: EXIT = 2|@ohos.stationary.d.ts|
|新增|NA|模块名: ohos.stationary<br>类名: stationary<br>方法 or 属性: function on(activity: ActivityType, event: ActivityEvent, reportLatencyNs: number, callback: Callback\<ActivityResponse>): void;|@ohos.stationary.d.ts|
|新增|NA|模块名: ohos.stationary<br>类名: stationary<br>方法 or 属性: function once(activity: ActivityType, callback: Callback\<ActivityResponse>): void;|@ohos.stationary.d.ts|
|新增|NA|模块名: ohos.stationary<br>类名: stationary<br>方法 or 属性: function off(activity: ActivityType, event: ActivityEvent, callback?: Callback\<ActivityResponse>): void;|@ohos.stationary.d.ts|
|新增|NA|类名:stationary;<br>方法or属性:type ActivityType = 'still' \| 'relativeStill';|@ohos.stationary.d.ts|
|新增|NA|类名:stationary;<br>方法or属性:function on(activity: ActivityType, event: ActivityEvent, reportLatencyNs: number, callback: Callback\<ActivityResponse>): void;|@ohos.stationary.d.ts|
|新增|NA|类名:stationary;<br>方法or属性:function once(activity: ActivityType, callback: Callback\<ActivityResponse>): void;|@ohos.stationary.d.ts|
|新增|NA|类名:stationary;<br>方法or属性:function off(activity: ActivityType, event: ActivityEvent, callback?: Callback\<ActivityResponse>): void;|@ohos.stationary.d.ts|
|新增|NA|类名:ActivityResponse;<br>方法or属性:state: ActivityState;|@ohos.stationary.d.ts|
|新增|NA|类名:ActivityEvent;<br>方法or属性:ENTER = 1|@ohos.stationary.d.ts|
|新增|NA|类名:ActivityState;<br>方法or属性:ENTER = 1|@ohos.stationary.d.ts|
|新增|NA|类名:ActivityEvent;<br>方法or属性:EXIT = 2|@ohos.stationary.d.ts|
|新增|NA|类名:ActivityState;<br>方法or属性:EXIT = 2|@ohos.stationary.d.ts|
|新增|NA|类名:ActivityEvent;<br>方法or属性:ENTER_EXIT = 3|@ohos.stationary.d.ts|
| 操作 | 旧版本 | 新版本 | d.ts文件 |
| ---- | ------ | ------ | -------- |
|新增|NA|模块名: ohos.systemParameterEnhance<br>类名: systemParameterEnhance|@ohos.systemParameterEnhance.d.ts|
|新增|NA|模块名: ohos.systemParameterEnhance<br>类名: systemParameterEnhance<br>方法 or 属性: function getSync(key: string, def?: string): string;|@ohos.systemParameterEnhance.d.ts|
|新增|NA|模块名: ohos.systemParameterEnhance<br>类名: systemParameterEnhance<br>方法 or 属性: function get(key: string, callback: AsyncCallback\<string>): void;|@ohos.systemParameterEnhance.d.ts|
|新增|NA|模块名: ohos.systemParameterEnhance<br>类名: systemParameterEnhance<br>方法 or 属性: function get(key: string, def: string, callback: AsyncCallback\<string>): void;|@ohos.systemParameterEnhance.d.ts|
|新增|NA|模块名: ohos.systemParameterEnhance<br>类名: systemParameterEnhance<br>方法 or 属性: function get(key: string, def?: string): Promise\<string>;|@ohos.systemParameterEnhance.d.ts|
|新增|NA|模块名: ohos.systemParameterEnhance<br>类名: systemParameterEnhance<br>方法 or 属性: function setSync(key: string, value: string): void;|@ohos.systemParameterEnhance.d.ts|
|新增|NA|模块名: ohos.systemParameterEnhance<br>类名: systemParameterEnhance<br>方法 or 属性: function set(key: string, value: string, callback: AsyncCallback\<void>): void;|@ohos.systemParameterEnhance.d.ts|
|新增|NA|模块名: ohos.systemParameterEnhance<br>类名: systemParameterEnhance<br>方法 or 属性: function set(key: string, value: string): Promise\<void>;|@ohos.systemParameterEnhance.d.ts|
|废弃版本有变化|类名:deviceInfo<br>方法 or 属性:const hardwareProfile: string;<br>废弃版本:N/A|类名:deviceInfo<br>方法 or 属性:const hardwareProfile: string;<br>废弃版本:9<br>代替接口:N/A|@ohos.deviceInfo.d.ts|
|废弃版本有变化|类名:Device<br>方法 or 属性:static getInfo(options?: GetDeviceOptions): void;<br>废弃版本:N/A|类名:Device<br>方法 or 属性:static getInfo(options?: GetDeviceOptions): void;<br>废弃版本:6<br>代替接口:N/A|@system.device.d.ts|
|新增(权限)|类名:deviceInfo<br>方法 or 属性:const serial: string;<br>权限:N/A|类名:deviceInfo<br>方法 or 属性:const serial: string;<br>权限:ohos.permission.sec.ACCESS_UDID|@ohos.deviceInfo.d.ts|
|新增(权限)|类名:deviceInfo<br>方法 or 属性:const udid: string;<br>权限:N/A|类名:deviceInfo<br>方法 or 属性:const udid: string;<br>权限:ohos.permission.sec.ACCESS_UDID|@ohos.deviceInfo.d.ts|
|新增|NA|类名:systemParameterEnhance;<br>方法or属性:function getSync(key: string, def?: string): string;|@ohos.systemParameterEnhance.d.ts|
|新增|NA|类名:systemParameterEnhance;<br>方法or属性:function get(key: string, callback: AsyncCallback\<string>): void;|@ohos.systemParameterEnhance.d.ts|
|新增|NA|类名:systemParameterEnhance;<br>方法or属性:function get(key: string, def: string, callback: AsyncCallback\<string>): void;|@ohos.systemParameterEnhance.d.ts|
|新增|NA|类名:systemParameterEnhance;<br>方法or属性:function get(key: string, def?: string): Promise\<string>;|@ohos.systemParameterEnhance.d.ts|
|新增|NA|类名:systemParameterEnhance;<br>方法or属性:function setSync(key: string, value: string): void;|@ohos.systemParameterEnhance.d.ts|
|新增|NA|类名:systemParameterEnhance;<br>方法or属性:function set(key: string, value: string, callback: AsyncCallback\<void>): void;|@ohos.systemParameterEnhance.d.ts|
|新增|NA|类名:systemParameterEnhance;<br>方法or属性:function set(key: string, value: string): Promise\<void>;|@ohos.systemParameterEnhance.d.ts|
|废弃版本有变化|类名:Device;<br>方法or属性:static getInfo(options?: GetDeviceOptions): void;<br>旧版本信息:|类名:Device;<br>方法or属性:static getInfo(options?: GetDeviceOptions): void;<br>新版本信息:6<br>代替接口:|@system.device.d.ts|
| 操作 | 旧版本 | 新版本 | d.ts文件 |
| ---- | ------ | ------ | -------- |
| 新增 | NA | 类名:deviceAttest; <br>方法or属性:function getAttestStatus(callback: AsyncCallback<AttestResultInfo>) : void; | @ohos.deviceAttest.d.ts |
| 新增 | NA | 类名:deviceAttest; <br/>方法or属性:function getAttestStatus() : Promise<AttestResultInfo>; | @ohos.deviceAttest.d.ts |
| 新增 | NA | 类名:deviceAttest; <br/>方法or属性:function getAttestStatusSync() : AttestResultInfo; | @ohos.deviceAttest.d.ts |
| 新增 | NA | 类名:AttestResultInfo; <br/>方法or属性:authResult : number; | @ohos.deviceAttest.d.ts |
| 新增 | NA | 类名:AttestResultInfo; <br/>方法or属性:softwareResult : number; | @ohos.deviceAttest.d.ts |
| 新增 | NA | 类名:AttestResultInfo;<br/> 方法or属性:softwareResultDetail : Array<number>; | @ohos.deviceAttest.d.ts |
| 新增 | NA | 类名:AttestResultInfo; <br/>方法or属性:ticket : string; | @ohos.deviceAttest.d.ts |
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册