android-components / mozilla.components.concept.engine.prompt / PromptRequest

PromptRequest

sealed class PromptRequest (source)

Value type that represents a request for showing a native dialog for prompt web content.

Types

Name Summary
Alert data class Alert : PromptRequest, Dismissible
Value type that represents a request for an alert prompt.
Authentication data class Authentication : PromptRequest, Dismissible
Value type that represents a request for an authentication prompt. For more related info take a look at <a href=”https://developer.mozilla.org/en-US/docs/Web/HTTP/Authentication>MDN docs
Color data class Color : PromptRequest, Dismissible
Value type that represents a request for a selecting one or multiple files.
Confirm data class Confirm : PromptRequest, Dismissible
Value type that represents a request for showing a <a href=”https://developer.mozilla.org/en-US/docs/Web/API/Window/confirm>confirm prompt.
Dismissible interface Dismissible
File data class File : PromptRequest
Value type that represents a request for a selecting one or multiple files.
MenuChoice data class MenuChoice : PromptRequest
Value type that represents a request for a menu choice prompt.
MultipleChoice data class MultipleChoice : PromptRequest
Value type that represents a request for a multiple choice prompt.
Popup data class Popup : PromptRequest
Value type that represents a request for showing a pop-pup prompt. This occurs when content attempts to open a new window, in a way that doesn’t appear to be the result of user input.
SingleChoice data class SingleChoice : PromptRequest
Value type that represents a request for a single choice prompt.
TextPrompt data class TextPrompt : PromptRequest, Dismissible
Value type that represents a request for an alert prompt to enter a message.
TimeSelection class TimeSelection : PromptRequest
Value type that represents a request for a date prompt for picking a year, month, and day.

Inheritors

Name Summary
Alert data class Alert : PromptRequest, Dismissible
Value type that represents a request for an alert prompt.
Authentication data class Authentication : PromptRequest, Dismissible
Value type that represents a request for an authentication prompt. For more related info take a look at <a href=”https://developer.mozilla.org/en-US/docs/Web/HTTP/Authentication>MDN docs
Color data class Color : PromptRequest, Dismissible
Value type that represents a request for a selecting one or multiple files.
Confirm data class Confirm : PromptRequest, Dismissible
Value type that represents a request for showing a <a href=”https://developer.mozilla.org/en-US/docs/Web/API/Window/confirm>confirm prompt.
File data class File : PromptRequest
Value type that represents a request for a selecting one or multiple files.
MenuChoice data class MenuChoice : PromptRequest
Value type that represents a request for a menu choice prompt.
MultipleChoice data class MultipleChoice : PromptRequest
Value type that represents a request for a multiple choice prompt.
Popup data class Popup : PromptRequest
Value type that represents a request for showing a pop-pup prompt. This occurs when content attempts to open a new window, in a way that doesn’t appear to be the result of user input.
SingleChoice data class SingleChoice : PromptRequest
Value type that represents a request for a single choice prompt.
TextPrompt data class TextPrompt : PromptRequest, Dismissible
Value type that represents a request for an alert prompt to enter a message.
TimeSelection class TimeSelection : PromptRequest
Value type that represents a request for a date prompt for picking a year, month, and day.