Preferences module for storing a small number of key-value pairs.| 接口 | 说明 |
|---|---|
| Preferences |
Provides interfaces to obtain and modify preference data.
|
| Preferences.PreferencesObserver |
Provides an interface to listen for preference data changes.
|
| 异常错误 | 说明 |
|---|---|
| PreferencesFileBrokenException |
Represents an exception indicating that a file is damaged.
|
| PreferencesFileReadException |
Represents an exception indicating that the structure of the file content to be read does not
meet the specified requirements.
|
| PreferencesFileWriteException |
Represents an exception indicating that the structure of the content to be written to a file
does not meet the specified requirements.
|