@contentauth/c2pa-js
    Preparing search index...

    SDK-side configuration for a Context.

    Unlike Settings, which configure the underlying library, this configures the JavaScript SDK itself. Only the settings are serialized and sent across the WASM/native boundary whereas the SDK config never leaves the SDK.

    interface SdkConfig {
        maxSizeInBytes?: number;
    }
    Index

    Properties

    Properties

    maxSizeInBytes?: number

    Maximum size, in bytes, of an asset that a Reader accepts. Must be a positive number.

    Each SDK applies its own limit when unset since what is acceptable depends on the platform.