PrerenderOperationCallback
interface PrerenderOperationCallback
Callback interface for the prerender operation.
Summary
Public functions |
|
|---|---|
Unit |
onError(exception: PrerenderException)Called when the prerender operation fails. |
Unit |
Called when a prerendered page is activated (used for an actual navigation). |
Public functions
onError
Added in 1.13.0
fun onError(exception: PrerenderException): Unit
Called when the prerender operation fails.
| Parameters | |
|---|---|
exception: PrerenderException |
The exception indicating the cause of the failure. |
onPrerenderActivated
Added in 1.13.0
fun onPrerenderActivated(): Unit
Called when a prerendered page is activated (used for an actual navigation).