device_file_stat
Get metadata for one file or directory on the device — type, size and modification time. Counterpart of ios_file_stat. Returns { ok, remotePath, exists, isDir, size, modTime }. A missing path is NOT an error: it comes back with exists=false, so this is the cheap way to check for a file before pulling it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| udid | Yes | Device serial number (UDID) | |
| remotePath | Yes | Absolute path on the device, e.g. /sdcard/Download/report.pdf |