using System.Collections.Generic; /// /// Represents an item in the back-forward navigation list of a UniWebView browser. /// This class stores information about a single entry in the browsing history. /// /// You do not create an instance of this class directly. Instead, you get instances of this class from the /// `UniWebViewBackForwardList` class. /// public class UniWebViewBackForwardItem { /// /// Gets the current URL of the history item. /// public string Url { get; private set; } /// /// Gets the title of the webpage represented by this history item. /// /// Empty if the title is not available or set. /// public string Title { get; private set; } /// /// Gets the original URL before any redirects occurred. /// public string OriginalUrl { get; private set; } /// /// Initializes a new instance of UniWebViewBackForwardItem. /// /// A dictionary containing the item's URL, title and original URL information. public UniWebViewBackForwardItem(Dictionary dict) { Url = dict["url"] as string; Title = dict["title"] as string; OriginalUrl = dict["originalUrl"] as string; } }