PageState


@AnyThread
class PageState


This class serves as an immutable snapshot of a Page instance at a certain point in time, captured every time a callback (e.g. onPageLoadEvent) is called.

Note: Do not use PageState as a key to connect callbacks, use Page instead from getPage

Summary

Public functions

Page

Returns the page linked to this PageState snapshot

String

Returns the URL associated with this PageState instance.

Public functions

getPage

fun getPage(): Page

Returns the page linked to this PageState snapshot

getUrl

fun getUrl(): String

Returns the URL associated with this PageState instance.