Package org.mozilla.geckoview
Class GeckoSession.PromptDelegate.FolderUploadPrompt
Object
org.mozilla.geckoview.GeckoSession.PromptDelegate.BasePrompt
org.mozilla.geckoview.GeckoSession.PromptDelegate.FolderUploadPrompt
- Enclosing interface:
- GeckoSession.PromptDelegate
public static class GeckoSession.PromptDelegate.FolderUploadPrompt
extends GeckoSession.PromptDelegate.BasePrompt
FolderUploadPrompt represents a prompt shown whenever the browser needs to upload folder data
-
Nested Class Summary
Nested classes/interfaces inherited from class org.mozilla.geckoview.GeckoSession.PromptDelegate.BasePrompt
GeckoSession.PromptDelegate.BasePrompt.Observer
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal String
The directory name to confirm folder tries to uploading.Fields inherited from class org.mozilla.geckoview.GeckoSession.PromptDelegate.BasePrompt
title
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
FolderUploadPrompt
(String id, String directoryName, GeckoSession.PromptDelegate.BasePrompt.Observer observer) A constructor for FolderUploadPrompt -
Method Summary
Methods inherited from class org.mozilla.geckoview.GeckoSession.PromptDelegate.BasePrompt
confirm, dismiss, getDelegate, isComplete, setDelegate
-
Field Details
-
directoryName
The directory name to confirm folder tries to uploading.
-
-
Constructor Details
-
FolderUploadPrompt
protected FolderUploadPrompt(@NonNull String id, @Nullable String directoryName, @NonNull GeckoSession.PromptDelegate.BasePrompt.Observer observer) A constructor for FolderUploadPrompt- Parameters:
id
- The identification for this prompt.directoryName
- The directory that is confirmed.observer
- A callback to notify when the prompt has been completed.
-
-
Method Details
-
confirm
@UiThread @NonNull public GeckoSession.PromptDelegate.PromptResponse confirm(@Nullable AllowOrDeny allowOrDeny) Confirms the prompt.- Parameters:
allowOrDeny
- whether the browser should allow resubmitting data.- Returns:
- A
GeckoSession.PromptDelegate.PromptResponse
which can be used to complete theGeckoResult
associated with this prompt.
-