Skip to content

@camera.ui/sdk / manager / CreateStreamDownloadOptions

Interface: CreateStreamDownloadOptions

Defined in: manager/index.ts:185

Options for creating a streaming download (progressive file tailing).

Extends

Properties

cleanup?

optional cleanup?: DownloadCleanup

Defined in: manager/index.ts:217

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.

Inherited from

CreateDownloadOptions.cleanup


filename?

optional filename?: string

Defined in: manager/index.ts:207

Filename for Content-Disposition header (defaults to basename of filePath)

Inherited from

CreateDownloadOptions.filename


filePath

filePath: string

Defined in: manager/index.ts:205

Absolute path to the file on disk

Inherited from

CreateDownloadOptions.filePath


markerPath

markerPath: string

Defined in: manager/index.ts:187

Path to a marker file that signals export is still in progress.


mimeType?

optional mimeType?: string

Defined in: manager/index.ts:209

MIME type for Content-Type header (defaults to application/octet-stream)

Inherited from

CreateDownloadOptions.mimeType


ttlMs?

optional ttlMs?: number

Defined in: manager/index.ts:211

Time-to-live in milliseconds (defaults to 10 minutes)

Inherited from

CreateDownloadOptions.ttlMs