PortalsRouteProcessor

class PortalsRouteProcessor(val context: Context, val assetMaps: <Error class: unknown class><String, AssetMap>) : RouteProcessor

A class used by PortalFragment to provide instructions to the Capacitor router to load shared assets.

Constructors

Link copied to clipboard
fun PortalsRouteProcessor(context: Context, assetMaps: <Error class: unknown class><String, AssetMap>)

Functions

Link copied to clipboard
open override fun process(basePath: String?, path: String?): ProcessedRoute

A callback used by Capacitor to intercept routing logic to route to shared assets.

Properties

Link copied to clipboard
val assetMaps: <Error class: unknown class><String, AssetMap>

a set of AssetMap objects describing how to route to shared assets

Link copied to clipboard

an Android Context used in the routing process