@camera.ui/sdk / manager / CreateDownloadOptions
Interface: CreateDownloadOptions ​
Defined in: manager/index.ts:368
Options for creating a download.
Extended by ​
Properties ​
cleanup? ​
optionalcleanup?:DownloadCleanup
Defined in: manager/index.ts:382
When the file on disk gets cleaned up. Defaults to 'never' (caller manages lifecycle). Use 'on-expiry' for multi-recipient notification images, 'on-download' for one-shot exports.
filename? ​
optionalfilename?:string
Defined in: manager/index.ts:372
Filename for Content-Disposition header (defaults to basename of filePath).
filePath ​
filePath:
string
Defined in: manager/index.ts:370
Absolute path to the file on disk, inside the plugin's storage folder (api.storagePath).
mimeType? ​
optionalmimeType?:string
Defined in: manager/index.ts:374
MIME type for Content-Type header (defaults to application/octet-stream).
ttlMs? ​
optionalttlMs?:number
Defined in: manager/index.ts:376
Time-to-live in milliseconds (defaults to 10 minutes).