Overview

A File is one entry in a phone’s user-visible storage, returned by List Files.

Paths

Paths are relative to the root of the phone’s shared storage and use forward slashes, for example Download/report.pdf or DCIM/Camera. The root itself is the empty path. A path never starts with / and cannot contain ...
  • Android: the whole shared storage is available (Download, DCIM, Pictures, Movies, Documents and so on).
  • iPhone: only the camera roll (DCIM) is available, and it is read-only. To add photos or videos to an iPhone, use Import Media.

Properties

string
Full path of the entry, relative to the storage root.
string
The last segment of the path.
string
file or directory.
number | null
Size in bytes. null for directories.
string | null
When the entry was last modified (ISO 8601 timestamp), if known.

Example