class PromptFeature
(source)
Feature for displaying native dialogs for html elements like: input type date,file,time,color, option, menu, authentication, confirmation and other alerts.
This feature will subscribe to the currently selected Session and display a suitable native dialog based on Session.Observer.onPromptRequested events. Once the dialog is closed or the user selects an item from the dialog the related PromptFeature will be consumed.
PromptFeature(sessionManager: SessionManager, fragmentManager: FragmentManager)
Feature for displaying native dialogs for html elements like: input type date,file,time,color, option, menu, authentication, confirmation and other alerts. |
fun start(): Unit
Start observing the selected session and when needed show native dialogs. |
|
fun stop(): Unit
Stop observing the selected session incoming onPromptRequested events. |