# Environment **Environment** is a singleton object created by the framework when the application is started. It provides the **AppStorage** with a series of environment state attributes required by the application. These attributes describe the device environment where the application runs. **Environment** and its attributes are immutable. All attribute values are of the simple type. The following example shows how to obtain the voice environment from **Environment**: ``` Environment.EnvProp("accessibilityEnabled", "default"); var enable = AppStorageGet("accessibilityEnabled"); ``` **accessibilityEnabled** is the default system variable identifier provided by **Environment**. You need to bind the corresponding system attribute to the **AppStorage**. Then, you can use the methods or decorators in the **AppStorage** to access the corresponding system attribute data. ## Environment APIs
Color mode. The options are as follows: |
||
Layout direction. The options are as follows: |
||
Current system language. The value is in lowercase, for example, zh. |