React SDKAPI ReferenceInterfaces
ProtectControls
Properties
isProtecting
isProtecting: boolean;true if a protection operation is currently in progress.
protectAsset
protectAsset: (blob, options?) => Promise<ProtectResult>;Protect an existing blob (image, audio, etc.).
Parameters
| Parameter | Type | Description |
|---|---|---|
blob | Blob | The media file to protect |
options? | ProtectAssetOptions | Custom tags, features, and source mode |
Returns
Promise<ProtectResult>
The signed asset blob with a trust label