createModuleProxy

abstract fun <T : Module> createModuleProxy(clazz: Class<T>): ModuleProxy<T>

Creates a ModuleProxy for the given module clazz to allow for an easy creation of Module Wrappers.

This method should only be used when creating a Module wrapper. Use the already prebuilt wrappers for modules included in the SDK.

Return

The ModuleProxy for the given module.

Parameters

clazz

The Module type that the proxy needs to wrap.