Preferences
Overview
The Preferences module provides APIs for key-value (KV) data processing, including querying, modifying, and persisting KV data.
System capability: SystemCapability.DistributedDataManager.Preferences.Core
Since: 13
Files
| Name | Description |
|---|---|
| oh_preferences.h | Provides APIs and structs for accessing the Preferences object. |
| preferences_err_code.h | Defines the error codes used in the Preferences module. |
| oh_preferences_option.h | Provides APIs and structs for accessing the PreferencesOption object. |
| oh_preferences_value.h | Provides APIs, enums, and structs for accessing the PreferencesValue object. |