目录

User File Overview

User files are the private images, videos, audio clips, and documents of the user who has logged in to the device.

  1. User files are stored in a directory, whose owner is the user who has logged in to the device.

  2. User files can be stored in built-in storage and external storage of the device.

  3. An application cannot access user files without user authorization, or the operations on user files must be performed by the user.

User File Storage

[h2]Built-in Storage

Built-in storage is the internal storage device (space) of a device. The built-in storage device cannot be removed. The following files can be stored in the built-in storage of a device:

Its characteristics include information such as the album, artist, and duration. Audio files are stored in the system as media files and are typically presented by categories such as all files, albums, and artists, without exposing their specific storage locations in the system.

[h2]External Storage

External storage refers to user files stored on external pluggable devices (such as SD cards and USB drives). Files on an external storage device are visible to all users logged in to the system.

External storage devices are pluggable. The system provides listening for the device insertion/removal events and mount/unmount of an external storage device. This feature is available only to system apps..

The files on external storage devices are presented as common files in a directory tree, like the documents in built-in storage.