capacitor-plugin-scanbot-barcode-scanner-sdk
    Preparing search index...

    Class ImageRefPoolSnapshotsDiff

    difference between two snapshots.

    Index

    Constructors

    Properties

    added: string[]

    Profiles of ImageRefs that are present in the second snapshot, but not in the first snapshot.

    modified: string[]

    Profiles of ImageRefs that are present in both snapshots but are different. Profile is considered modified if number of references or memory consumption is different.

    removed: string[]

    Unique ids of ImageRefs that are not present in the second snapshot and present in the first snapshot.

    totalMemoryConsumptionDiff: number

    Difference between total memory consumption in two snapshots.

    Default is 0

    Methods

    • Parameters

      Returns {
          added?: string[];
          modified?: string[];
          removed?: string[];
          serialize?: (
              config?: ToJsonConfiguration,
          ) => { totalMemoryConsumptionDiff?: number | undefined; removed?: string[] | undefined; added?: string[] | undefined; modified?: string[] | undefined; serialize?: ((config?: ToJsonConfiguration | undefined) => ...) | undefined; };
          totalMemoryConsumptionDiff?: number;
      }

      • Optionaladded?: string[]

        Profiles of ImageRefs that are present in the second snapshot, but not in the first snapshot.

      • Optionalmodified?: string[]

        Profiles of ImageRefs that are present in both snapshots but are different. Profile is considered modified if number of references or memory consumption is different.

      • Optionalremoved?: string[]

        Unique ids of ImageRefs that are not present in the second snapshot and present in the first snapshot.

      • Optionalserialize?: (
            config?: ToJsonConfiguration,
        ) => { totalMemoryConsumptionDiff?: number | undefined; removed?: string[] | undefined; added?: string[] | undefined; modified?: string[] | undefined; serialize?: ((config?: ToJsonConfiguration | undefined) => ...) | undefined; }
      • OptionaltotalMemoryConsumptionDiff?: number

        Difference between total memory consumption in two snapshots.

        Default is 0