2021-02-19 08:07:53 -07:00
|
|
|
/**
|
|
|
|
* Represents a temporary file in the local filesystem.
|
|
|
|
*/
|
2021-03-08 09:51:47 -07:00
|
|
|
export interface TemporaryFile {
|
2021-02-19 08:07:53 -07:00
|
|
|
/**
|
2021-03-08 10:00:29 -07:00
|
|
|
* The path of the file.
|
|
|
|
*
|
|
|
|
* * **Note:** If you want to consume this file (e.g. for displaying it in an `<Image>` component), you might have to add the `file://` prefix.
|
|
|
|
*
|
|
|
|
* * **Note:** This file might get deleted once the app closes because it lives in the temp directory.
|
2021-02-19 08:07:53 -07:00
|
|
|
*/
|
|
|
|
path: string;
|
2021-03-08 09:51:47 -07:00
|
|
|
}
|