From 47e584eeee784abf638f566223f16a166570605a Mon Sep 17 00:00:00 2001 From: liumingyue Date: Wed, 25 Jun 2025 11:42:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=BA=91=E5=90=8C=E6=AD=A5?= =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E5=90=AF=E7=94=A8=E6=A0=87=E8=AF=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: liumingyue --- api/@ohos.bundle.bundleManager.d.ts | 10 ++++++++++ api/bundleManager/ApplicationInfo.d.ts | 12 ++++++++++++ 2 files changed, 22 insertions(+) diff --git a/api/@ohos.bundle.bundleManager.d.ts b/api/@ohos.bundle.bundleManager.d.ts index 18f79c5e4b..ea8760f15f 100644 --- a/api/@ohos.bundle.bundleManager.d.ts +++ b/api/@ohos.bundle.bundleManager.d.ts @@ -416,6 +416,16 @@ declare namespace bundleManager { * @arkts 1.1&1.2 */ GET_BUNDLE_INFO_EXCLUDE_CLONE = 0x00004000, + /** + * Used to return applications that enable cloud file sync or cloud structured data sync. + * Only effective on {@link getAllBundleInfo} + * + * @syscap SystemCapability.BundleManager.BundleFramework.Core + * @systemapi + * @since 20 + * @arkts 1.1&1.2 + */ + GET_BUNDLE_INFO_WITH_CLOUD_KIT = 0x00008000, } /** diff --git a/api/bundleManager/ApplicationInfo.d.ts b/api/bundleManager/ApplicationInfo.d.ts index 5a0ba69cf8..64deb67e40 100644 --- a/api/bundleManager/ApplicationInfo.d.ts +++ b/api/bundleManager/ApplicationInfo.d.ts @@ -850,6 +850,18 @@ export interface ApplicationInfo { */ readonly cloudFileSyncEnabled: boolean; + /** + * Indicates whether the application enables cloud structured data sync. + * + * @type { ?boolean } + * @readonly + * @syscap SystemCapability.BundleManager.BundleFramework.Core + * @atomicservice + * @since 20 + * @arkts 1.1&1.2 + */ + readonly cloudStructuredDataSyncEnabled?: boolean; + /** * Indicates the flags of the application. * -- Gitee