Package org.mozilla.geckoview
Interface GeckoSession.PromptDelegate.PromptInstanceDelegate
- Enclosing interface:
- GeckoSession.PromptDelegate
public static interface GeckoSession.PromptDelegate.PromptInstanceDelegate
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
Called when this prompt has been dismissed by the system.default void
Called when this prompt has been updated.
-
Method Details
-
onPromptDismiss
Called when this prompt has been dismissed by the system.This can happen e.g. when the page navigates away and the content of the prompt is not relevant anymore.
When this method is called, you should hide the prompt UI elements.
- Parameters:
prompt
- the prompt that should be dismissed.
-
onPromptUpdate
Called when this prompt has been updated.This is called if inner <option> elements are updated when using <select> element.
When this method is called, you should update the prompt UI elements.
- Parameters:
prompt
- the new prompt that should be updated.
-