FileReaderModule

open class FileReaderModule : NativeFileReaderModuleSpec

Constructors

Link copied to clipboard
constructor(reactContext: ReactApplicationContext)

Properties

Link copied to clipboard
val METHOD_TYPE_ASYNC: String = "async"
Link copied to clipboard
val METHOD_TYPE_PROMISE: String = "promise"
Link copied to clipboard
val METHOD_TYPE_SYNC: String = "sync"
Link copied to clipboard
val NAME: String = "FileReaderModule"

Functions

Link copied to clipboard
Return true if you intend to override some other native module that was registered e.g.
Link copied to clipboard
Link copied to clipboard
open fun getName(): String
Link copied to clipboard
open fun initialize()
This method is called after ReactApplicationContext has been created.
abstract fun initialize()

Initialize the TurboModule.

Link copied to clipboard
open fun invalidate()
The CatalystInstance is going away with Venice.
abstract fun invalidate()

Called during the turn down process of ReactHost. This method is called before React Native is stopped. Override this method to clean up resources used by the TurboModule.

Link copied to clipboard
Allow NativeModule to clean up.
Link copied to clipboard
open fun readAsDataURL(blob: ReadableMap, promise: Promise)
Link copied to clipboard
open fun readAsText(blob: ReadableMap, encoding: String, promise: Promise)