A file picked or captured on the device.
The file content does not cross the bridge. url points to the local asset server, so it can be used directly in <img>, <video>, <a> or fetch(). Captured files are removed when the app closes.
url
<img>
<video>
<a>
fetch()
Local URL, for example http://localhost:8080/_internal/tmp/1700000000_photo.jpg
http://localhost:8080/_internal/tmp/1700000000_photo.jpg
Original file name
MIME type, for example image/jpeg
image/jpeg
File size in bytes
A file picked or captured on the device.
Remarks
The file content does not cross the bridge.
urlpoints to the local asset server, so it can be used directly in<img>,<video>,<a>orfetch(). Captured files are removed when the app closes.