Interface UIScreenshotServiceDelegate


  • public interface UIScreenshotServiceDelegate
    • Method Detail

      • screenshotServiceGeneratePDFRepresentationWithCompletion

        default void screenshotServiceGeneratePDFRepresentationWithCompletion​(UIScreenshotService screenshotService,
                                                                              UIScreenshotServiceDelegate.Block_screenshotServiceGeneratePDFRepresentationWithCompletion completionHandler)
        The delegate method to send the PDF data to screenshots The delegate is required to send the data via the completion handler
        Parameters:
        screenshotService - The screenshot service object associated per scene
        completionHandler - The block to execute when the PDF data is ready. If no PDF data is available, data can be nil. The indexOfCurrentPage is zero-based, and is the index of the current page of the snapshotted PDF. The rectInCurrentPage is the rect in PDF coordinates with respect to the current page. If the receiver cannot provide the visible area, pass CGRectZero for rectInCurrentPage.