TrustNXTTrustNXT
React SDKAPI ReferenceInterfaces

ProtectionState

Aggregate protection state exposed by useCapture.

Properties

completedProtections

completedProtections: number;

Number of captured assets successfully protected by the SDK.


failures

failures: ProtectionQueueItem[];

Snapshots of any protection operations that failed.


isAllProtected

isAllProtected: boolean;

true when all captured assets have finished the protection pipeline.


pendingProtections

pendingProtections: number;

Number of captured assets currently waiting in the protection queue.

On this page