getNativeModule

open fun <T : NativeModule?> getNativeModule(nativeModuleInterface: Class<T>): T

Return

the instance of the specified module interface associated with this ReactContext.