-
- All Implemented Interfaces:
-
com.facebook.react.bridge.NativeModule
,com.facebook.react.bridge.ReactModuleWithSpec
,com.facebook.react.turbomodule.core.interfaces.TurboModule
public class FileReaderModule extends NativeFileReaderModuleSpec
-
-
Constructor Summary
Constructors Constructor Description FileReaderModule(ReactApplicationContext reactContext)
-
Method Summary
Modifier and Type Method Description String
getName()
void
readAsText(ReadableMap blob, String encoding, Promise promise)
void
readAsDataURL(ReadableMap blob, Promise promise)
-
Methods inherited from class com.facebook.fbreact.specs.NativeFileReaderModuleSpec
readAsDataURL, readAsText
-
Methods inherited from class com.facebook.react.bridge.BaseJavaModule
canOverrideExistingModule, getConstants, hasConstants, initialize, invalidate, onCatalystInstanceDestroy
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
FileReaderModule
FileReaderModule(ReactApplicationContext reactContext)
-
-
Method Detail
-
readAsText
void readAsText(ReadableMap blob, String encoding, Promise promise)
-
readAsDataURL
void readAsDataURL(ReadableMap blob, Promise promise)
-
-
-
-