AndroidOmapiPluginFactoryProvider

class AndroidOmapiPluginFactoryProvider(activity: Activity, callback: (AndroidOmapiPluginFactory) -> Unit) : AndroidOmapiPluginFactory

The following example shows how to create a AndroidOmapiPluginFactoryFactory object with the AndroidOmapiPluginFactoryProvider and use it to register a Plugin.

AndroidOmapiPluginFactoryProvider(this) {
val plugin = SmartCardServiceProvider.getService().registerPlugin(it)
}

Since

2.0.0

Constructors

Link copied to clipboard
fun AndroidOmapiPluginFactoryProvider(activity: Activity, callback: (AndroidOmapiPluginFactory) -> Unit)

Builds instances of AndroidOmapiPluginFactory from context provided in constructor.

Functions

Link copied to clipboard
fun getFactory(): AndroidOmapiPluginFactory

Returns an instance of AndroidOmapiPluginFactory.