跳转到内容
菜单
自动
简体中文

InvisibleWatermarkWorkerOptions

此内容尚不支持你的语言。

Defined in: invisible-watermark.ts:79

Browser-only dedicated Worker settings for CPU-intensive detection.

optional onProgress?: (progress) => void

Defined in: invisible-watermark.ts:85

Coarse lifecycle updates. Exceptions thrown here are ignored.

InvisibleWatermarkWorkerProgressPhase

void


scriptUrl: string

Defined in: invisible-watermark.ts:81

Trusted same-origin URL of the packaged invisible watermark worker.


optional signal?: AbortSignal

Defined in: invisible-watermark.ts:83

Cancels the current detection and terminates its one-time Worker.