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

    Variable ScanbotLegacyPageConst

    ScanbotLegacyPage: {
        refreshImageUris(pages: Page[]): Promise<Page[]>;
        removeAllPages(): Promise<void>;
        removePage(page: Page): Promise<void>;
        setDocumentImage(
            params: { imageFileUri: string; page: Page },
        ): Promise<Page>;
    }

    Entry point for all legacy page features.

    Type Declaration

    • refreshImageUris: function
      • Recreates the given pages to refresh the image uris.

        Parameters

        • pages: Page[]

          Pages to be recreated.

        Returns Promise<Page[]>

        • Recreated pages with refreshed image uris.
    • removeAllPages: function
      • Remove all legacy pages from the storage.

        Returns Promise<void>

    • removePage: function
      • Remove legacy page from the storage.

        Parameters

        • page: Page

          Page to be removed.

        Returns Promise<void>

    • setDocumentImage: function
      • Sets document image for a given page.

        Parameters

        • params: { imageFileUri: string; page: Page }
          • imageFileUri: string

            Image to be set.

          • page: Page

            Page to be updated.

        Returns Promise<Page>

        • Updated page.