AndroidBrowser¶
Opens URLs in the in-app browser.
Kodster.InAppWebBrowser.Android.AndroidBrowser
Overview¶
- Initialization is handled automatically during plugin startup.
- Cleanup is registered automatically on
Application.quitting. - On non-Android platforms, initialization is skipped and calls are ignored (
IsEphemeralBrowsingSupportedremainsfalse).
Properties¶
IsEphemeralBrowsingSupported¶
Whether ephemeral browsing is supported by the user's current default browser.
Returns
trueif supported; otherwisefalse.
Remarks
- Requires
androidx.browserversion 1.9.0 or higher.
Methods¶
Open¶
Opens url in the in-app browser.
Parameters
url(string): The URL to open.options(AndroidBrowserOptions, optional): Browser configuration. Whennull, defaults are used.
Throws
ArgumentException: Thrown whenurlis null, empty, whitespace, or not a valid absolute http/https URL.
PrefetchUrl¶
Prefetches the specified URL in the background to speed up a launch.
Parameters
url(string): The URL to prefetch.
Throws
ArgumentException: Thrown whenurlis null, empty, whitespace, or not a valid absolute http/https URL.