data class ModuleProviderArgument
Declares arguments used to create default Mapbox modules.
expectedArgumentClass - the exact Class that the default implementation of the module expects as an argument.
This shouldn't be a subclass, but exactly what's in the declaration of the constructor/method we want to use.
argumentInstance - instance of the expected argument (can be a subclass)
ModuleProviderArgument(expectedArgumentClass: Class<*>, argumentInstance: Any?)
Declares arguments used to create default Mapbox modules. |
val argumentInstance: Any?
instance of the expected argument (can be a subclass) |
|
val expectedArgumentClass: Class<*>
the exact Class that the default implementation of the module expects as an argument. This shouldn't be a subclass, but exactly what's in the declaration of the constructor/method we want to use. |