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
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
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
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