add Plugins
Add multiple Capacitor Plugin to be loaded with this Portal.
Example usage (kotlin):
val list: List<Class<out Plugin?>> = listOf(
FooPlugin::class.java,
BarPlugin::class.java,
BazPlugin::class.java
)
portal.addPlugins(list)
Content copied to clipboard
Example usage (java):
List<Class<? extends Plugin>> list = Arrays.asList(
FooPlugin.class,
BarPlugin.class,
BazPlugin.class
);
portal.addPlugins(list);
Content copied to clipboard
Parameters
plugins
a list of Plugins to be used with the Portal