Portal
A class representing a Portal that contains information about the web content to load and any associated plugins used by the Portal. It is discouraged to use this class directly to create a Portal and instead use PortalBuilder or PortalManager to construct a new instance.
Example usage (kotlin):
val name: String = "Hello World"
val portal: Portal = Portal(name)Example usage (java):
String name = "Hello World";
Portal portal = new Portal(name);Types
The live update provider for a Portal.
Properties
The initial context to pass to the web view.
Whether to run a live update sync when the portal is added to the manager.
The live update source responsible for locating and syncing the latest web application assets.
The PortalFragment type used by a PortalView when using Portals directly in Android layouts/XML.
Functions
Add multiple AssetMap instances to be loaded with this Portal.
Add a Capacitor Plugin instance to be loaded with this Portal.
Add multiple Capacitor Plugin instances to be loaded with this Portal.
Add multiple Capacitor Plugin to be loaded with this Portal.
The directory of the latest synced web application assets for this portal. Returns null when no live update source is configured or no sync has completed.
Sets the initial context to pass to the web view.
Sync the external live update provider configured for this Portal.