ModuleSpec

open class ModuleSpec

A specification for a native module. This exists so that we don't have to pay the cost for creation until/if the module is used.

Functions

Link copied to clipboard
open fun getName(): String
Link copied to clipboard
open fun getProvider(): Provider<out NativeModule>
Link copied to clipboard
open fun nativeModuleSpec(type: Class<out NativeModule>, provider: Provider<out NativeModule>): ModuleSpec
open fun nativeModuleSpec(className: String, provider: Provider<out NativeModule>): ModuleSpec
Link copied to clipboard
open fun viewManagerSpec(provider: Provider<out NativeModule>): ModuleSpec