1e41f4b71Sopenharmony_ci# BundleStatusCallback (System API)
2e41f4b71Sopenharmony_ci
3e41f4b71Sopenharmony_ciThe **BundleStatusCallback** module provides callbacks for bundle status changes. The changes can be obtained through [innerBundleManager.on](js-apis-Bundle-InnerBundleManager-sys.md).
4e41f4b71Sopenharmony_ci
5e41f4b71Sopenharmony_ci> **NOTE**
6e41f4b71Sopenharmony_ci>
7e41f4b71Sopenharmony_ci> 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.
8e41f4b71Sopenharmony_ci>
9e41f4b71Sopenharmony_ci> The APIs provided by this module are system APIs.
10e41f4b71Sopenharmony_ci
11e41f4b71Sopenharmony_ci## BundleStatusCallback<sup>(deprecated)<sup>
12e41f4b71Sopenharmony_ci> This API is deprecated since API version 9. You are advised to use [bundleMonitor](js-apis-bundleMonitor-sys.md) instead.
13e41f4b71Sopenharmony_ci
14e41f4b71Sopenharmony_ci**System API**: This is a system API.
15e41f4b71Sopenharmony_ci
16e41f4b71Sopenharmony_ci**System capability**: SystemCapability.BundleManager.BundleFramework
17e41f4b71Sopenharmony_ci
18e41f4b71Sopenharmony_ci| Type  | Callback                                         | Description                                  |
19e41f4b71Sopenharmony_ci| ------ | --------------------------------------------- | -------------------------------------- |
20e41f4b71Sopenharmony_ci| add    | (bundleName : string, userId: number) => void | Used to obtain information when a bundle is installed.|
21e41f4b71Sopenharmony_ci| update | (bundleName : string, userId: number) => void | Used to obtain information when a bundle is updated.|
22e41f4b71Sopenharmony_ci| remove | (bundleName : string, userId: number) => void | Used to obtain information when a bundle is uninstalled.|
23