1# BundleStatusCallback (System API) 2<!--Kit: Ability Kit--> 3<!--Subsystem: BundleManager--> 4<!--Owner: @wanghang904--> 5<!--Designer: @hanfeng6--> 6<!--Tester: @kongjing2--> 7<!--Adviser: @Brilliantry_Rui--> 8 9The module provides callbacks for bundle status changes. The changes can be obtained through [innerBundleManager.on](js-apis-Bundle-InnerBundleManager-sys.md#innerbundlemanagerondeprecated). 10 11> **NOTE** 12> 13> The initial APIs of this module are supported since API version 8. Newly added APIs will be marked with a superscript to indicate their earliest API version. 14> 15> The APIs of this module are deprecated since API version 9. You are advised to use [bundleMonitor](js-apis-bundleMonitor-sys.md) instead. 16> 17> The APIs provided by this module are system APIs. 18 19## BundleStatusCallback<sup>(deprecated)<sup> 20> This API is deprecated since API version 9. You are advised to use [bundleMonitor](js-apis-bundleMonitor-sys.md) instead. 21 22**System API**: This is a system API. 23 24**System capability**: SystemCapability.BundleManager.BundleFramework 25 26| Type | Callback | Description | 27| ------ | --------------------------------------------- | -------------------------------------- | 28| add | (bundleName : string, userId: number) => void | Used to obtain information when a bundle is installed.| 29| update | (bundleName : string, userId: number) => void | Used to obtain information when a bundle is updated.| 30| remove | (bundleName : string, userId: number) => void | Used to obtain information when a bundle is uninstalled.| 31