From ca75b684b68a9859c1743e72e318d778f272453a Mon Sep 17 00:00:00 2001 From: zhangzezhong Date: Mon, 18 Aug 2025 21:21:56 +0800 Subject: [PATCH] fix revet caller Signed-off-by: zhangzezhong --- api/@ohos.app.ability.UIAbility.d.ts | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/api/@ohos.app.ability.UIAbility.d.ts b/api/@ohos.app.ability.UIAbility.d.ts index 0f6b0cc85f..0e332bbcfe 100644 --- a/api/@ohos.app.ability.UIAbility.d.ts +++ b/api/@ohos.app.ability.UIAbility.d.ts @@ -47,20 +47,6 @@ export interface OnReleaseCallback { (msg: string): void; } -/** - * The prototype of the listener function interface registered by the Caller. - * Defines the callback of OnRelease. - * - * @typedef OnReleaseCallback - * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore - * @param { string } msg - The notification event string listened to by the OnRelease. - * @stagemodelonly - * @since 20 - * @arkts 1.2 - */ -export type OnReleaseCallback = (msg: string)=> void; - - /** * The prototype of the listener function interface registered by the Caller. * @@ -108,8 +94,7 @@ export interface CalleeCallback { * @interface Caller * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 */ export interface Caller { /** @@ -170,8 +155,7 @@ export interface Caller { * @throws { BusinessError } 16200001 - The caller has been released. * @syscap SystemCapability.Ability.AbilityRuntime.AbilityCore * @stagemodelonly - * @since arkts {'1.1':'9', '1.2':'20'} - * @arkts 1.1&1.2 + * @since 9 */ onRelease(callback: OnReleaseCallback): void; -- Gitee