UniWebViewBackForwardList
Summary
Represents the back-forward navigation history list of a UniWebView instance. This class manages the browsing history and provides access to previous and next pages.
You do not create an instance of this class directly. Instead, you get an instance of this class to represent the back-forward list of a UniWebView instance by calling the CopyBackForwardList
method of the UniWebView
class.
The content of this class is read-only and fixed when the instance is created. It does not get updated with the web view's navigation history automatically. If you need the latest navigation history, you should call the method CopyBackForwardList
again to get a new instance of this class.
Properties Summary
Gets all items in the back-forward navigation history list. | |
Gets the current page item in the navigation history. | |
Gets the previous (back) page item in the navigation history. | |
Gets the next (forward) page item in the navigation history. | |
Gets the index of current page in the navigation history. | |
Gets the total number of items in the navigation history. |
Methods Summary
Gets the item at the specified index in the navigation history. |
Properties
Gets all items in the back-forward navigation history list.
Gets the current page item in the navigation history.
It is the page that is currently displayed in the list. If there is no item in the list, it will return null.
Gets the previous (back) page item in the navigation history.
Returns null if there is no previous page.
Gets the next (forward) page item in the navigation history.
Returns null if there is no next page.
Gets the index of current page in the navigation history.
The index is zero-based in the list. If there is no item in the list, it will return -1.
Gets the total number of items in the navigation history.
Methods
Gets the item at the specified index in the navigation history.
The navigation item at the specified index, or null if the index is out of range.