Change Type Old Version New Version d.ts File
Added NA Class name: ResourceType;
Method or attribute name: RUNNING_LOCK = 1 << 7
@ohos.resourceschedule.backgroundTaskManager.d.ts
Added NA Class name: ResourceType;
Method or attribute name: SENSOR = 1 << 8
@ohos.resourceschedule.backgroundTaskManager.d.ts
Added NA Class name: deviceStandby;
Method or attribute name: function getExemptedApps(resourceTypes: number, callback: AsyncCallback<Array<ExemptedAppInfo>>): void;
@ohos.resourceschedule.deviceStandby.d.ts
Added NA Class name: deviceStandby;
Method or attribute name: function getExemptedApps(resourceTypes: number): Promise<Array<ExemptedAppInfo>>;
@ohos.resourceschedule.deviceStandby.d.ts
Added NA Class name: deviceStandby;
Method or attribute name: function requestExemptionResource(request: ResourceRequest): void;
@ohos.resourceschedule.deviceStandby.d.ts
Added NA Class name: deviceStandby;
Method or attribute name: function releaseExemptionResource(request: ResourceRequest): void;
@ohos.resourceschedule.deviceStandby.d.ts
Added NA Class name: ResourceType;
Method or attribute name: NETWORK = 1
@ohos.resourceschedule.deviceStandby.d.ts
Added NA Class name: ResourceType;
Method or attribute name: RUNNING_LOCK = 1 << 1
@ohos.resourceschedule.deviceStandby.d.ts
Added NA Class name: ResourceType;
Method or attribute name: TIMER = 1 << 2
@ohos.resourceschedule.deviceStandby.d.ts
Added NA Class name: ResourceType;
Method or attribute name: WORK_SCHEDULER = 1 << 3
@ohos.resourceschedule.deviceStandby.d.ts
Added NA Class name: ResourceType;
Method or attribute name: AUTO_SYNC = 1 << 4
@ohos.resourceschedule.deviceStandby.d.ts
Added NA Class name: ResourceType;
Method or attribute name: PUSH = 1 << 5
@ohos.resourceschedule.deviceStandby.d.ts
Added NA Class name: ResourceType;
Method or attribute name: FREEZE = 1 << 6
@ohos.resourceschedule.deviceStandby.d.ts
Added NA Class name: ExemptedAppInfo;
Method or attribute name: resourceTypes: number;
@ohos.resourceschedule.deviceStandby.d.ts
Added NA Class name: ResourceRequest;
Method or attribute name: resourceTypes: number;
@ohos.resourceschedule.deviceStandby.d.ts
Added NA Class name: ExemptedAppInfo;
Method or attribute name: name: string;
@ohos.resourceschedule.deviceStandby.d.ts
Added NA Class name: ResourceRequest;
Method or attribute name: name: string;
@ohos.resourceschedule.deviceStandby.d.ts
Added NA Class name: ExemptedAppInfo;
Method or attribute name: duration: number;
@ohos.resourceschedule.deviceStandby.d.ts
Added NA Class name: ResourceRequest;
Method or attribute name: duration: number;
@ohos.resourceschedule.deviceStandby.d.ts
Added NA Class name: ResourceRequest;
Method or attribute name: uid: number;
@ohos.resourceschedule.deviceStandby.d.ts
Added NA Class name: ResourceRequest;
Method or attribute name: reason: string;
@ohos.resourceschedule.deviceStandby.d.ts
Added NA Class name: usageStatistics;
Method or attribute name: function isIdleStateSync(bundleName: string): boolean;
@ohos.resourceschedule.usageStatistics.d.ts
Added NA Class name: usageStatistics;
Method or attribute name: function queryAppGroupSync(): number;
@ohos.resourceschedule.usageStatistics.d.ts
Added NA Class name: usageStatistics;
Method or attribute name: function queryAppGroupSync(bundleName: string): number;
@ohos.resourceschedule.usageStatistics.d.ts
Added NA Class name: workScheduler;
Method or attribute name: function obtainAllWorks(callback: AsyncCallback<Array<WorkInfo>>): void;
@ohos.resourceschedule.workScheduler.d.ts
Added NA Class name: workScheduler;
Method or attribute name: function isLastWorkTimeOut(workId: number, callback: AsyncCallback<boolean>): void;
@ohos.resourceschedule.workScheduler.d.ts
Added NA Class name: WorkSchedulerExtensionAbility;
Method or attribute name: context: WorkSchedulerExtensionContext;
@ohos.WorkSchedulerExtensionAbility.d.ts
Deprecated version changed Class name: particleAbility;
Method or attribute name: function startBackgroundRunning(id: number, request: NotificationRequest): Promise<void>;
Old version information:
Class name: particleAbility;
Method or attribute name: function startBackgroundRunning(id: number, request: NotificationRequest): Promise<void>;
New version information: 9
Substitute API: ohos.resourceschedule.backgroundTaskManager/backgroundTaskManager#startBackgroundRunning
@ohos.ability.particleAbility.d.ts
Deprecated version changed Class name: particleAbility;
Method or attribute name: function cancelBackgroundRunning(): Promise<void>;
Old version information:
Class name: particleAbility;
Method or attribute name: function cancelBackgroundRunning(): Promise<void>;
New version information: 9
Substitute API: ohos.resourceschedule.backgroundTaskManager/backgroundTaskManager#stopBackgroundRunning
@ohos.ability.particleAbility.d.ts
Deprecated version changed Class name: workScheduler;
Method or attribute name: function obtainAllWorks(callback: AsyncCallback<void>): Array<WorkInfo>;
Old version information:
Class name: workScheduler;
Method or attribute name: function obtainAllWorks(callback: AsyncCallback<void>): Array<WorkInfo>;
New version information: 10
Substitute API:
@ohos.resourceschedule.workScheduler.d.ts
Deprecated version changed Class name: workScheduler;
Method or attribute name: function isLastWorkTimeOut(workId: number, callback: AsyncCallback<void>): boolean;
Old version information:
Class name: workScheduler;
Method or attribute name: function isLastWorkTimeOut(workId: number, callback: AsyncCallback<void>): boolean;
New version information: 10
Substitute API:
@ohos.resourceschedule.workScheduler.d.ts
Access level changed Class name: bundleState;
Method or attribute name: function queryBundleStateInfos(begin: number, end: number): Promise<BundleActiveInfoResponse>;
Old version information:
Class name: bundleState;
Method or attribute name: function queryBundleStateInfos(begin: number, end: number): Promise<BundleActiveInfoResponse>;
New version information: systemapi
@ohos.bundleState.d.ts
Access level changed Class name: bundleState;
Method or attribute name: function queryBundleStateInfoByInterval(
byInterval: IntervalType,
begin: number,
end: number
): Promise<Array<BundleStateInfo>>;
Old version information:
Class name: bundleState;
Method or attribute name: function queryBundleStateInfoByInterval(
byInterval: IntervalType,
begin: number,
end: number
): Promise<Array<BundleStateInfo>>;
New version information: systemapi
@ohos.bundleState.d.ts
Access level changed Class name: bundleState;
Method or attribute name: function queryBundleActiveStates(begin: number, end: number): Promise<Array<BundleActiveState>>;
Old version information:
Class name: bundleState;
Method or attribute name: function queryBundleActiveStates(begin: number, end: number): Promise<Array<BundleActiveState>>;
New version information: systemapi
@ohos.bundleState.d.ts
Access level changed Class name: ResourceType;
Method or attribute name: CPU = 1
Old version information:
Class name: ResourceType;
Method or attribute name: CPU = 1
New version information: systemapi
@ohos.resourceschedule.backgroundTaskManager.d.ts
Access level changed Class name: ResourceType;
Method or attribute name: COMMON_EVENT = 1 << 1
Old version information:
Class name: ResourceType;
Method or attribute name: COMMON_EVENT = 1 << 1
New version information: systemapi
@ohos.resourceschedule.backgroundTaskManager.d.ts
Access level changed Class name: ResourceType;
Method or attribute name: TIMER = 1 << 2
Old version information:
Class name: ResourceType;
Method or attribute name: TIMER = 1 << 2
New version information: systemapi
@ohos.resourceschedule.backgroundTaskManager.d.ts
Access level changed Class name: ResourceType;
Method or attribute name: WORK_SCHEDULER = 1 << 3
Old version information:
Class name: ResourceType;
Method or attribute name: WORK_SCHEDULER = 1 << 3
New version information: systemapi
@ohos.resourceschedule.backgroundTaskManager.d.ts
Access level changed Class name: ResourceType;
Method or attribute name: BLUETOOTH = 1 << 4
Old version information:
Class name: ResourceType;
Method or attribute name: BLUETOOTH = 1 << 4
New version information: systemapi
@ohos.resourceschedule.backgroundTaskManager.d.ts
Access level changed Class name: ResourceType;
Method or attribute name: GPS = 1 << 5
Old version information:
Class name: ResourceType;
Method or attribute name: GPS = 1 << 5
New version information: systemapi
@ohos.resourceschedule.backgroundTaskManager.d.ts
Access level changed Class name: ResourceType;
Method or attribute name: AUDIO = 1 << 6
Old version information:
Class name: ResourceType;
Method or attribute name: AUDIO = 1 << 6
New version information: systemapi
@ohos.resourceschedule.backgroundTaskManager.d.ts
Access level changed Class name: EfficiencyResourcesRequest;
Method or attribute name: resourceTypes: number;
Old version information:
Class name: EfficiencyResourcesRequest;
Method or attribute name: resourceTypes: number;
New version information: systemapi
@ohos.resourceschedule.backgroundTaskManager.d.ts
Access level changed Class name: EfficiencyResourcesRequest;
Method or attribute name: isApply: boolean;
Old version information:
Class name: EfficiencyResourcesRequest;
Method or attribute name: isApply: boolean;
New version information: systemapi
@ohos.resourceschedule.backgroundTaskManager.d.ts
Access level changed Class name: EfficiencyResourcesRequest;
Method or attribute name: timeOut: number;
Old version information:
Class name: EfficiencyResourcesRequest;
Method or attribute name: timeOut: number;
New version information: systemapi
@ohos.resourceschedule.backgroundTaskManager.d.ts
Access level changed Class name: EfficiencyResourcesRequest;
Method or attribute name: isPersist?: boolean;
Old version information:
Class name: EfficiencyResourcesRequest;
Method or attribute name: isPersist?: boolean;
New version information: systemapi
@ohos.resourceschedule.backgroundTaskManager.d.ts
Access level changed Class name: EfficiencyResourcesRequest;
Method or attribute name: isProcess?: boolean;
Old version information:
Class name: EfficiencyResourcesRequest;
Method or attribute name: isProcess?: boolean;
New version information: systemapi
@ohos.resourceschedule.backgroundTaskManager.d.ts
Access level changed Class name: EfficiencyResourcesRequest;
Method or attribute name: reason: string;
Old version information:
Class name: EfficiencyResourcesRequest;
Method or attribute name: reason: string;
New version information: systemapi
@ohos.resourceschedule.backgroundTaskManager.d.ts
Access level changed Class name: BundleStatsInfo;
Method or attribute name: id: number;
Old version information:
Class name: BundleStatsInfo;
Method or attribute name: id: number;
New version information: systemapi
@ohos.resourceschedule.usageStatistics.d.ts
Access level changed Class name: BundleStatsInfo;
Method or attribute name: abilityInFgTotalTime?: number;
Old version information:
Class name: BundleStatsInfo;
Method or attribute name: abilityInFgTotalTime?: number;
New version information: systemapi
@ohos.resourceschedule.usageStatistics.d.ts
Access level changed Class name: BundleStatsInfo;
Method or attribute name: abilityPrevAccessTime?: number;
Old version information:
Class name: BundleStatsInfo;
Method or attribute name: abilityPrevAccessTime?: number;
New version information: systemapi
@ohos.resourceschedule.usageStatistics.d.ts
Access level changed Class name: BundleStatsInfo;
Method or attribute name: abilityPrevSeenTime?: number;
Old version information:
Class name: BundleStatsInfo;
Method or attribute name: abilityPrevSeenTime?: number;
New version information: systemapi
@ohos.resourceschedule.usageStatistics.d.ts
Access level changed Class name: BundleStatsInfo;
Method or attribute name: abilitySeenTotalTime?: number;
Old version information:
Class name: BundleStatsInfo;
Method or attribute name: abilitySeenTotalTime?: number;
New version information: systemapi
@ohos.resourceschedule.usageStatistics.d.ts
Access level changed Class name: BundleStatsInfo;
Method or attribute name: bundleName?: string;
Old version information:
Class name: BundleStatsInfo;
Method or attribute name: bundleName?: string;
New version information: systemapi
@ohos.resourceschedule.usageStatistics.d.ts
Access level changed Class name: BundleEvents;
Method or attribute name: bundleName?: string;
Old version information:
Class name: BundleEvents;
Method or attribute name: bundleName?: string;
New version information: systemapi
@ohos.resourceschedule.usageStatistics.d.ts
Access level changed Class name: BundleStatsInfo;
Method or attribute name: fgAbilityAccessTotalTime?: number;
Old version information:
Class name: BundleStatsInfo;
Method or attribute name: fgAbilityAccessTotalTime?: number;
New version information: systemapi
@ohos.resourceschedule.usageStatistics.d.ts
Access level changed Class name: BundleStatsInfo;
Method or attribute name: fgAbilityPrevAccessTime?: number;
Old version information:
Class name: BundleStatsInfo;
Method or attribute name: fgAbilityPrevAccessTime?: number;
New version information: systemapi
@ohos.resourceschedule.usageStatistics.d.ts
Access level changed Class name: BundleStatsInfo;
Method or attribute name: infosBeginTime?: number;
Old version information:
Class name: BundleStatsInfo;
Method or attribute name: infosBeginTime?: number;
New version information: systemapi
@ohos.resourceschedule.usageStatistics.d.ts
Access level changed Class name: BundleStatsInfo;
Method or attribute name: infosEndTime?: number;
Old version information:
Class name: BundleStatsInfo;
Method or attribute name: infosEndTime?: number;
New version information: systemapi
@ohos.resourceschedule.usageStatistics.d.ts
Access level changed Class name: HapFormInfo;
Method or attribute name: formName: string;
Old version information:
Class name: HapFormInfo;
Method or attribute name: formName: string;
New version information: systemapi
@ohos.resourceschedule.usageStatistics.d.ts
Access level changed Class name: HapFormInfo;
Method or attribute name: formDimension: number;
Old version information:
Class name: HapFormInfo;
Method or attribute name: formDimension: number;
New version information: systemapi
@ohos.resourceschedule.usageStatistics.d.ts
Access level changed Class name: HapFormInfo;
Method or attribute name: formId: number;
Old version information:
Class name: HapFormInfo;
Method or attribute name: formId: number;
New version information: systemapi
@ohos.resourceschedule.usageStatistics.d.ts
Access level changed Class name: HapFormInfo;
Method or attribute name: formLastUsedTime: number;
Old version information:
Class name: HapFormInfo;
Method or attribute name: formLastUsedTime: number;
New version information: systemapi
@ohos.resourceschedule.usageStatistics.d.ts
Access level changed Class name: HapFormInfo;
Method or attribute name: count: number;
Old version information:
Class name: HapFormInfo;
Method or attribute name: count: number;
New version information: systemapi
@ohos.resourceschedule.usageStatistics.d.ts
Access level changed Class name: DeviceEventStats;
Method or attribute name: count: number;
Old version information:
Class name: DeviceEventStats;
Method or attribute name: count: number;
New version information: systemapi
@ohos.resourceschedule.usageStatistics.d.ts
Access level changed Class name: HapModuleInfo;
Method or attribute name: deviceId?: string;
Old version information:
Class name: HapModuleInfo;
Method or attribute name: deviceId?: string;
New version information: systemapi
@ohos.resourceschedule.usageStatistics.d.ts
Access level changed Class name: HapModuleInfo;
Method or attribute name: bundleName: string;
Old version information:
Class name: HapModuleInfo;
Method or attribute name: bundleName: string;
New version information: systemapi
@ohos.resourceschedule.usageStatistics.d.ts
Access level changed Class name: HapModuleInfo;
Method or attribute name: moduleName: string;
Old version information:
Class name: HapModuleInfo;
Method or attribute name: moduleName: string;
New version information: systemapi
@ohos.resourceschedule.usageStatistics.d.ts
Access level changed Class name: HapModuleInfo;
Method or attribute name: abilityName?: string;
Old version information:
Class name: HapModuleInfo;
Method or attribute name: abilityName?: string;
New version information: systemapi
@ohos.resourceschedule.usageStatistics.d.ts
Access level changed Class name: HapModuleInfo;
Method or attribute name: appLabelId?: number;
Old version information:
Class name: HapModuleInfo;
Method or attribute name: appLabelId?: number;
New version information: systemapi
@ohos.resourceschedule.usageStatistics.d.ts
Access level changed Class name: HapModuleInfo;
Method or attribute name: labelId?: number;
Old version information:
Class name: HapModuleInfo;
Method or attribute name: labelId?: number;
New version information: systemapi
@ohos.resourceschedule.usageStatistics.d.ts
Access level changed Class name: HapModuleInfo;
Method or attribute name: descriptionId?: number;
Old version information:
Class name: HapModuleInfo;
Method or attribute name: descriptionId?: number;
New version information: systemapi
@ohos.resourceschedule.usageStatistics.d.ts
Access level changed Class name: HapModuleInfo;
Method or attribute name: abilityLableId?: number;
Old version information:
Class name: HapModuleInfo;
Method or attribute name: abilityLableId?: number;
New version information: systemapi
@ohos.resourceschedule.usageStatistics.d.ts
Access level changed Class name: HapModuleInfo;
Method or attribute name: abilityDescriptionId?: number;
Old version information:
Class name: HapModuleInfo;
Method or attribute name: abilityDescriptionId?: number;
New version information: systemapi
@ohos.resourceschedule.usageStatistics.d.ts
Access level changed Class name: HapModuleInfo;
Method or attribute name: abilityIconId?: number;
Old version information:
Class name: HapModuleInfo;
Method or attribute name: abilityIconId?: number;
New version information: systemapi
@ohos.resourceschedule.usageStatistics.d.ts
Access level changed Class name: HapModuleInfo;
Method or attribute name: launchedCount: number;
Old version information:
Class name: HapModuleInfo;
Method or attribute name: launchedCount: number;
New version information: systemapi
@ohos.resourceschedule.usageStatistics.d.ts
Access level changed Class name: HapModuleInfo;
Method or attribute name: lastModuleUsedTime: number;
Old version information:
Class name: HapModuleInfo;
Method or attribute name: lastModuleUsedTime: number;
New version information: systemapi
@ohos.resourceschedule.usageStatistics.d.ts
Access level changed Class name: HapModuleInfo;
Method or attribute name: formRecords: Array<HapFormInfo>;
Old version information:
Class name: HapModuleInfo;
Method or attribute name: formRecords: Array<HapFormInfo>;
New version information: systemapi
@ohos.resourceschedule.usageStatistics.d.ts
Access level changed Class name: DeviceEventStats;
Method or attribute name: name: string;
Old version information:
Class name: DeviceEventStats;
Method or attribute name: name: string;
New version information: systemapi
@ohos.resourceschedule.usageStatistics.d.ts
Access level changed Class name: DeviceEventStats;
Method or attribute name: eventId: number;
Old version information:
Class name: DeviceEventStats;
Method or attribute name: eventId: number;
New version information: systemapi
@ohos.resourceschedule.usageStatistics.d.ts
Access level changed Class name: BundleEvents;
Method or attribute name: appGroup?: number;
Old version information:
Class name: BundleEvents;
Method or attribute name: appGroup?: number;
New version information: systemapi
@ohos.resourceschedule.usageStatistics.d.ts
Access level changed Class name: BundleEvents;
Method or attribute name: indexOfLink?: string;
Old version information:
Class name: BundleEvents;
Method or attribute name: indexOfLink?: string;
New version information: systemapi
@ohos.resourceschedule.usageStatistics.d.ts
Access level changed Class name: BundleEvents;
Method or attribute name: nameOfClass?: string;
Old version information:
Class name: BundleEvents;
Method or attribute name: nameOfClass?: string;
New version information: systemapi
@ohos.resourceschedule.usageStatistics.d.ts
Access level changed Class name: BundleEvents;
Method or attribute name: eventOccurredTime?: number;
Old version information:
Class name: BundleEvents;
Method or attribute name: eventOccurredTime?: number;
New version information: systemapi
@ohos.resourceschedule.usageStatistics.d.ts
Access level changed Class name: BundleEvents;
Method or attribute name: eventId?: number;
Old version information:
Class name: BundleEvents;
Method or attribute name: eventId?: number;
New version information: systemapi
@ohos.resourceschedule.usageStatistics.d.ts
Access level changed Class name: IntervalType;
Method or attribute name: BY_OPTIMIZED = 0
Old version information:
Class name: IntervalType;
Method or attribute name: BY_OPTIMIZED = 0
New version information: systemapi
@ohos.resourceschedule.usageStatistics.d.ts
Access level changed Class name: IntervalType;
Method or attribute name: BY_DAILY = 1
Old version information:
Class name: IntervalType;
Method or attribute name: BY_DAILY = 1
New version information: systemapi
@ohos.resourceschedule.usageStatistics.d.ts
Access level changed Class name: IntervalType;
Method or attribute name: BY_WEEKLY = 2
Old version information:
Class name: IntervalType;
Method or attribute name: BY_WEEKLY = 2
New version information: systemapi
@ohos.resourceschedule.usageStatistics.d.ts
Access level changed Class name: IntervalType;
Method or attribute name: BY_MONTHLY = 3
Old version information:
Class name: IntervalType;
Method or attribute name: BY_MONTHLY = 3
New version information: systemapi
@ohos.resourceschedule.usageStatistics.d.ts
Access level changed Class name: IntervalType;
Method or attribute name: BY_ANNUALLY = 4
Old version information:
Class name: IntervalType;
Method or attribute name: BY_ANNUALLY = 4
New version information: systemapi
@ohos.resourceschedule.usageStatistics.d.ts
Access level changed Class name: GroupType;
Method or attribute name: ALIVE_GROUP = 10
Old version information:
Class name: GroupType;
Method or attribute name: ALIVE_GROUP = 10
New version information: systemapi
@ohos.resourceschedule.usageStatistics.d.ts
Access level changed Class name: GroupType;
Method or attribute name: DAILY_GROUP = 20
Old version information:
Class name: GroupType;
Method or attribute name: DAILY_GROUP = 20
New version information: systemapi
@ohos.resourceschedule.usageStatistics.d.ts
Access level changed Class name: GroupType;
Method or attribute name: FIXED_GROUP = 30
Old version information:
Class name: GroupType;
Method or attribute name: FIXED_GROUP = 30
New version information: systemapi
@ohos.resourceschedule.usageStatistics.d.ts
Access level changed Class name: GroupType;
Method or attribute name: RARE_GROUP = 40
Old version information:
Class name: GroupType;
Method or attribute name: RARE_GROUP = 40
New version information: systemapi
@ohos.resourceschedule.usageStatistics.d.ts
Access level changed Class name: GroupType;
Method or attribute name: LIMITED_GROUP = 50
Old version information:
Class name: GroupType;
Method or attribute name: LIMITED_GROUP = 50
New version information: systemapi
@ohos.resourceschedule.usageStatistics.d.ts
Access level changed Class name: GroupType;
Method or attribute name: NEVER_GROUP = 60
Old version information:
Class name: GroupType;
Method or attribute name: NEVER_GROUP = 60
New version information: systemapi
@ohos.resourceschedule.usageStatistics.d.ts
Permission changed Class name: particleAbility;
Method or attribute name: function startBackgroundRunning(id: number, request: NotificationRequest): Promise<void>;
Old version information:
Class name: particleAbility;
Method or attribute name: function startBackgroundRunning(id: number, request: NotificationRequest): Promise<void>;
New version information: ohos.permission.KEEP_BACKGROUND_RUNNING
@ohos.ability.particleAbility.d.ts
Permission changed Class name: backgroundTaskManager;
Method or attribute name: function startBackgroundRunning(context: Context, bgMode: BackgroundMode, wantAgent: WantAgent): Promise<void>;
Old version information:
Class name: backgroundTaskManager;
Method or attribute name: function startBackgroundRunning(context: Context, bgMode: BackgroundMode, wantAgent: WantAgent): Promise<void>;
New version information: ohos.permission.KEEP_BACKGROUND_RUNNING
@ohos.backgroundTaskManager.d.ts
Permission changed Class name: bundleState;
Method or attribute name: function queryBundleStateInfos(begin: number, end: number): Promise<BundleActiveInfoResponse>;
Old version information:
Class name: bundleState;
Method or attribute name: function queryBundleStateInfos(begin: number, end: number): Promise<BundleActiveInfoResponse>;
New version information: ohos.permission.BUNDLE_ACTIVE_INFO
@ohos.bundleState.d.ts
Permission changed Class name: bundleState;
Method or attribute name: function queryBundleStateInfoByInterval(
byInterval: IntervalType,
begin: number,
end: number
): Promise<Array<BundleStateInfo>>;
Old version information:
Class name: bundleState;
Method or attribute name: function queryBundleStateInfoByInterval(
byInterval: IntervalType,
begin: number,
end: number
): Promise<Array<BundleStateInfo>>;
New version information: ohos.permission.BUNDLE_ACTIVE_INFO
@ohos.bundleState.d.ts
Permission changed Class name: bundleState;
Method or attribute name: function queryBundleActiveStates(begin: number, end: number): Promise<Array<BundleActiveState>>;
Old version information:
Class name: bundleState;
Method or attribute name: function queryBundleActiveStates(begin: number, end: number): Promise<Array<BundleActiveState>>;
New version information: ohos.permission.BUNDLE_ACTIVE_INFO
@ohos.bundleState.d.ts
Model changed Class name: particleAbility;
Method or attribute name: function startBackgroundRunning(id: number, request: NotificationRequest): Promise<void>;
Old version information:
Class name: particleAbility;
Method or attribute name: function startBackgroundRunning(id: number, request: NotificationRequest): Promise<void>;
New version information: FAModelOnly
@ohos.ability.particleAbility.d.ts
Model changed Class name: particleAbility;
Method or attribute name: function cancelBackgroundRunning(): Promise<void>;
Old version information:
Class name: particleAbility;
Method or attribute name: function cancelBackgroundRunning(): Promise<void>;
New version information: FAModelOnly
@ohos.ability.particleAbility.d.ts