diff --git a/api/@ohos.backgroundTaskManager.d.ts b/api/@ohos.backgroundTaskManager.d.ts index 85bd32ad33e3ee19b783488db1622757c543a006..cbe6ae70b6ac7a61d65c017f2588aab6c2dd2a7e 100644 --- a/api/@ohos.backgroundTaskManager.d.ts +++ b/api/@ohos.backgroundTaskManager.d.ts @@ -19,8 +19,7 @@ import { AsyncCallback , Callback} from './basic'; * Manages background tasks. * * @since 7 - * @sysCap SystemCapability.Ressched.BackgroundTaskMgr - * @devices phone, tv, wearable, tablet, car + * @syscap SystemCapability.ResourceSchedule.BackgroundTaskManager.TransientTask */ declare namespace backgroundTaskManager { /** @@ -28,8 +27,7 @@ declare namespace backgroundTaskManager { * * @name DelaySuspendInfo * @since 7 - * @sysCap SystemCapability.Ressched.BackgroundTaskMgr - * @devices phone, tv, wearable, tablet, car + * @syscap SystemCapability.ResourceSchedule.BackgroundTaskManager.TransientTask */ interface DelaySuspendInfo { /** @@ -46,8 +44,7 @@ declare namespace backgroundTaskManager { * Cancels delayed transition to the suspended state. * * @since 7 - * @sysCap SystemCapability.Ressched.BackgroundTaskMgr - * @devices phone, tv, wearable, tablet, car + * @syscap SystemCapability.ResourceSchedule.BackgroundTaskManager.TransientTask * @param requestId Indicates the identifier of the delay request. */ function cancelSuspendDelay(requestId: number): void; @@ -56,8 +53,7 @@ declare namespace backgroundTaskManager { * Obtains the remaining time before an application enters the suspended state. * * @since 7 - * @sysCap SystemCapability.Ressched.BackgroundTaskMgr - * @devices phone, tv, wearable, tablet, car + * @syscap SystemCapability.ResourceSchedule.BackgroundTaskManager.TransientTask * @param requestId Indicates the identifier of the delay request. * @return The remaining delay time */ @@ -68,8 +64,7 @@ declare namespace backgroundTaskManager { * Requests delayed transition to the suspended state. * * @since 7 - * @sysCap SystemCapability.Ressched.BackgroundTaskMgr - * @devices phone, tv, wearable, tablet, car + * @syscap SystemCapability.ResourceSchedule.BackgroundTaskManager.TransientTask * @param reason Indicates the reason for delayed transition to the suspended state. * @param callback The callback delay time expired. * @return Info of delay request @@ -77,4 +72,4 @@ declare namespace backgroundTaskManager { function requestSuspendDelay(reason: string, callback: Callback): DelaySuspendInfo; } -export default backgroundTaskManager; \ No newline at end of file +export default backgroundTaskManager;