1| 操作 | 旧版本 | 新版本 | d.ts文件 | 2| ---- | ------ | ------ | -------- | 3|新增|NA|类名:WorkInfo<br>方法or属性:parameters?: {[key: string]: number \| string \| boolean};|@ohos.resourceschedule.workScheduler.d.ts| 4|访问级别有变化|类名:BundleEvents<br>访问级别:公开API|类名:BundleEvents<br>访问级别:系统API|@ohos.resourceschedule.usageStatistics.d.ts| 5|访问级别有变化|类名:usageStatistics<br>方法 or 属性:function isIdleState(bundleName: string, callback: AsyncCallback\<boolean>): void;<br>访问级别:公开API|类名:usageStatistics<br>方法 or 属性:function isIdleState(bundleName: string, callback: AsyncCallback\<boolean>): void;<br>访问级别:系统API|@ohos.resourceschedule.usageStatistics.d.ts| 6|访问级别有变化|类名:usageStatistics<br>方法 or 属性:function isIdleState(bundleName: string): Promise\<boolean>;<br>访问级别:公开API|类名:usageStatistics<br>方法 or 属性:function isIdleState(bundleName: string): Promise\<boolean>;<br>访问级别:系统API|@ohos.resourceschedule.usageStatistics.d.ts| 7|访问级别有变化|类名:usageStatistics<br>方法 or 属性:function queryAppGroup(callback: AsyncCallback\<number>): void;<br>访问级别:公开API|类名:usageStatistics<br>方法 or 属性:function queryAppGroup(callback: AsyncCallback\<number>): void;<br>访问级别:系统API|@ohos.resourceschedule.usageStatistics.d.ts| 8|访问级别有变化|类名:usageStatistics<br>方法 or 属性:function queryAppGroup(): Promise\<number>;<br>访问级别:公开API|类名:usageStatistics<br>方法 or 属性:function queryAppGroup(): Promise\<number>;<br>访问级别:系统API|@ohos.resourceschedule.usageStatistics.d.ts| 9|访问级别有变化|类名:usageStatistics<br>方法 or 属性:function queryCurrentBundleEvents(begin: number, end: number, callback: AsyncCallback\<Array\<BundleEvents>>): void;<br>访问级别:公开API|类名:usageStatistics<br>方法 or 属性:function queryCurrentBundleEvents(begin: number, end: number, callback: AsyncCallback\<Array\<BundleEvents>>): void;<br>访问级别:系统API|@ohos.resourceschedule.usageStatistics.d.ts| 10|访问级别有变化|类名:usageStatistics<br>方法 or 属性:function queryCurrentBundleEvents(begin: number, end: number): Promise\<Array\<BundleEvents>>;<br>访问级别:公开API|类名:usageStatistics<br>方法 or 属性:function queryCurrentBundleEvents(begin: number, end: number): Promise\<Array\<BundleEvents>>;<br>访问级别:系统API|@ohos.resourceschedule.usageStatistics.d.ts| 11|新增(权限)|类名:usageStatistics<br>方法 or 属性:function isIdleState(bundleName: string, callback: AsyncCallback\<boolean>): void;<br>权限:N/A|类名:usageStatistics<br>方法 or 属性:function isIdleState(bundleName: string, callback: AsyncCallback\<boolean>): void;<br>权限:ohos.permission.BUNDLE_ACTIVE_INFO|@ohos.resourceschedule.usageStatistics.d.ts| 12|新增(权限)|类名:usageStatistics<br>方法 or 属性:function isIdleState(bundleName: string): Promise\<boolean>;<br>权限:N/A|类名:usageStatistics<br>方法 or 属性:function isIdleState(bundleName: string): Promise\<boolean>;<br>权限:ohos.permission.BUNDLE_ACTIVE_INFO|@ohos.resourceschedule.usageStatistics.d.ts| 13|SysCap有变化|类名:backgroundTaskManager<br>SysCap:SystemCapability.ResourceSchedule.BackgroundTaskManager.TransientTask|类名:backgroundTaskManager<br>SysCap:N/A|@ohos.resourceschedule.backgroundTaskManager.d.ts| 14|SysCap有变化|类名:workScheduler<br>SysCap:SystemCapability.ResourceSchedule.WorkScheduler|类名:workScheduler<br>SysCap:N/A|@ohos.resourceschedule.workScheduler.d.ts| 15