com.pspdfkit.document.editor.page.NewPageFactory.OnNewPageReadyListener |
Listens for return of a NewPage
instance to the editor. The factory must ensure that
it either calls onNewPageReady(NewPage)
or onCancelled()
for the page
creation flow to properly finish.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
onCancelled()
Called by the factory if creation of a new page was cancelled.
| ||||||||||
abstract void |
onNewPageReady(NewPage newPage)
Called by the factory when a
NewPage instance is ready. |
Called by the factory if creation of a new page was cancelled. This usually happens due to user interaction, if the user decided to not create a page inside a user interface.