You can obtain the context and process information of applications and abilities during application runtime.
| 接口 | 说明 |
|---|---|
| Context |
Provides the context of an object in the application and obtains application environment information.
|
| ElementsCallback |
Provides callbacks that can be used by elements to listen for system configuration and memory status changes.
|
| IAbilityManager |
Obtains running process and memory information about an application.
|
| 类 | 说明 |
|---|---|
| AbilityContext |
An abstract class that provides the application context for the current object and obtains the application
environment information.
|
| Environment |
Provides system environment variables.
|
| GeneralReceiver |
Provides generic callback methods for receiving results from other processes during inter-process communication
(IPC).
|
| ProcessInfo |
Saves process information about an application.
|
| 异常错误 | 说明 |
|---|---|
| ContextInvalidArgException |
Describes the exception thrown when a parameter passed in a
Context is invalid. |