diff --git a/interfaces/kits/js/ani/file_cloud_sync/ets/@ohos.file.cloudSync.ets b/interfaces/kits/js/ani/file_cloud_sync/ets/@ohos.file.cloudSync.ets index d4d5f4373a0ff8f246dc14a7ec1b218e87eaedbf..39f466a06774cd7ee66000fa8ef7892d03a2b28f 100644 --- a/interfaces/kits/js/ani/file_cloud_sync/ets/@ohos.file.cloudSync.ets +++ b/interfaces/kits/js/ani/file_cloud_sync/ets/@ohos.file.cloudSync.ets @@ -71,9 +71,11 @@ export default namespace cloudSync { native on(evt: string, callback: GallerySyncCallback): void; - native off(evt: string, callback: GallerySyncCallback): void; + native offWithEvtCallback(evt: string, callback: GallerySyncCallback): void; - native off(evt: string): void; + native offWithEvt(evt: string): void; + + overload off { offWithEvtCallback, offWithEvt } start(): Promise { return new Promise((resolve: (result: undefined) => void,