diff --git a/api/@ohos.bundle.bundleManager.d.ts b/api/@ohos.bundle.bundleManager.d.ts index 18f79c5e4b206c9d2728aaffd0c97cdd1ae70b17..ea8760f15fdfe2bf967b250558a5bebdd29c9be8 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 5a0ba69cf8f9ff896058467534581020dde7a66f..64deb67e40e51cb9b45eebbe08f745f71d33b788 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. *