From 4351bc2e674c55e28b5e3d8ca5317cd029a7761a Mon Sep 17 00:00:00 2001 From: wangdongdong Date: Mon, 7 Mar 2022 10:16:34 +0800 Subject: [PATCH] fixed 2b4894d from https://gitee.com/wangdd__zju/interface_sdk-js/pulls/935 Signed-off-by: wangdongdong Change-Id: If0eeba072966e6d7527880abe215ab3c152e5197 --- api/@ohos.ability.featureAbility.d.ts | 12 ------- api/ability/continueAbilityOptions.d.ts | 42 ------------------------- 2 files changed, 54 deletions(-) delete mode 100755 api/ability/continueAbilityOptions.d.ts diff --git a/api/@ohos.ability.featureAbility.d.ts b/api/@ohos.ability.featureAbility.d.ts index 44de8063d5..bf53635d1d 100644 --- a/api/@ohos.ability.featureAbility.d.ts +++ b/api/@ohos.ability.featureAbility.d.ts @@ -20,7 +20,6 @@ import { AbilityResult } from './ability/abilityResult'; import { Context } from './app/context'; import { DataAbilityHelper } from './ability/dataAbilityHelper'; import { ConnectOptions } from './ability/connectOptions'; -import { ContinueAbilityOptions } from './ability/continueAbilityOptions'; /** * A Feature Ability represents an ability with a UI and is designed to interact with users. @@ -146,17 +145,6 @@ declare namespace featureAbility { function disconnectAbility(connection: number, callback:AsyncCallback): void; function disconnectAbility(connection: number): Promise; - /** - * Migrates this ability to the given device on the same distributed network. - * @default - - * @since 7 - * @syscap SystemCapability.Ability.AbilityRuntime.FAModel - * @return - - * @FAModelOnly - */ - function continueAbility(options: ContinueAbilityOptions, callback: AsyncCallback): void; - function continueAbility(options: ContinueAbilityOptions): Promise; - export enum AbilityWindowConfiguration { WINDOW_MODE_UNDEFINED = 0, WINDOW_MODE_FULLSCREEN = 1, diff --git a/api/ability/continueAbilityOptions.d.ts b/api/ability/continueAbilityOptions.d.ts deleted file mode 100755 index 12f2772298..0000000000 --- a/api/ability/continueAbilityOptions.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright (c) 2021 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - /** - * @since 7 - * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @permission N/A - */ -export interface ContinueAbilityOptions { - /** - * Indicates the ID of the target device where this ability will be migrated to. - * - * @default - - * @since 7 - * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @FAModelOnly - */ - deviceId: string; - - /** - * Indicates whether the ability to be migrated back to the local device through - * This is a reserved field. - * - * @default - - * @since 7 - * @syscap SystemCapability.Ability.AbilityRuntime.Core - * @FAModelOnly - */ - reversible?: boolean; -} \ No newline at end of file -- Gitee