Web Browser
Functional web browser app which supports basic web browser features. Integrated with network system and downloads.
Workflow
Web Browser app depends on its manager, its library and network manager. You can add new websites or downloadable files by using Tools > DreamOS > Show Web Library. All website items require a prefab to create the page content and an unique URL address. You can exclude ‘www.’ from the address as Web Browser checks for ‘www.’ on search.
You can specify a file type for downloadable files. After selecting a file type, assign / enter a value in the appropriate field. ‘None’ file type doesn’t require any assignment. You can later on download the file by calling its name via Web Browser Manager or Download Helper. Download Helper component is used in the example website(s), as it doesn’t require any assignment in the scene. You can simply call this line within your script or button to download a file: DownloadHelper.DownloadFile(“downloadable file name”);
API / Scripting
using Michsky.DreamOS; // namespace
public WebBrowserManager webBrowser;
void YourFunction()
{
webBrowser.OpenHome(); // Go to the homepage
webBrowser.OpenPage("page url"); // Go to a specific page
webBrowser.GoBack(); // Previous page
webBrowser.GoForward(); // Next page
webBrowser.Refresh(); // Refresh the current page
webBrowser.SetFavorite(); // Add page to favorites
webBrowser.DownloadFile("File Name"); // Download a specific file from Web Library
webBrowser.DeleteDownloadFile("File Name"); // Delete a specific downloaded file
}
How can we help?
A premium WordPress theme with an integrated Knowledge Base,
providing 24/7 community-based support.