Interface CefPdfPrintCallback


  • public interface CefPdfPrintCallback
    Callback interface for CefBrowser.PrintToPDF(). The methods of this class will be called on the browser process UI thread.
    • Method Detail

      • onPdfPrintFinished

        void onPdfPrintFinished​(java.lang.String path,
                                boolean ok)
        Method that will be executed when the PDF printing has completed. |path| is the output path. |ok| will be true if the printing completed successfully or false otherwise.
        Parameters:
        path - The path of the PDF file that was written.
        ok - True if printing completed or false otherwise.