DialogModule

open class DialogModule : NativeDialogManagerAndroidSpec, LifecycleEventListener

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 = "DialogManagerAndroid"

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
Link copied to clipboard
open fun initialize()
This method is called after ReactApplicationContext has been created.
Link copied to clipboard
open fun invalidate()
The CatalystInstance is going away with Venice.
Link copied to clipboard
Allow NativeModule to clean up.
Link copied to clipboard
open fun onHostDestroy()
Called when host activity receives destroy event (e.g.
Link copied to clipboard
open fun onHostPause()
Called when host activity receives pause event (e.g.
Link copied to clipboard
open fun onHostResume()
Called either when the host activity receives a resume event (e.g.
Link copied to clipboard
open fun showAlert(options: ReadableMap, errorCallback: Callback, actionCallback: Callback)