React SDKAPI ReferenceInterfaces
ProtectOptions
Options that control protection behavior (separate from label metadata).
Properties
preserveManifest?
optional preserveManifest?: boolean;When true (default), any valid existing C2PA manifest in the asset
is preserved and the new manifest references it as a parent ingredient.
Set to false to discard existing provenance and start fresh.
source?
optional source?: ProtectSource;How the asset was acquired.
camera(default): asset was captured by the app →c2pa.createdupload/imported: user-provided asset →c2pa.opened