public static class GeckoSession.PromptDelegate.DateTimePrompt extends GeckoSession.PromptDelegate.BasePrompt
Modifier and Type | Class and Description |
---|---|
static class |
GeckoSession.PromptDelegate.DateTimePrompt.Type |
Modifier and Type | Field and Description |
---|---|
String |
defaultValue
A String representing the default value supplied by content.
|
String |
maxValue
A String representing the maximum value allowed by content.
|
String |
minValue
A String representing the minimum value allowed by content.
|
int |
type
One of
GeckoSession.PromptDelegate.DateTimePrompt.Type indicating the type of prompt. |
title
Modifier | Constructor and Description |
---|---|
protected |
DateTimePrompt(String title,
int type,
String defaultValue,
String minValue,
String maxValue) |
Modifier and Type | Method and Description |
---|---|
GeckoSession.PromptDelegate.PromptResponse |
confirm(String datetime)
Confirms the prompt and passes the date and/or time value back to content.
|
confirm, dismiss, isComplete
public final int type
GeckoSession.PromptDelegate.DateTimePrompt.Type
indicating the type of prompt.@Nullable public final String defaultValue
@Nullable public final String minValue
@Nullable public final String maxValue
@UiThread @NonNull public GeckoSession.PromptDelegate.PromptResponse confirm(@NonNull String datetime)
datetime
- A String representing the date and time to be returned to content.GeckoSession.PromptDelegate.PromptResponse
which can be used to complete
the GeckoResult
associated with this prompt.