public class

JsPromptResult

extends JsResult
java.lang.Object
   ↳ android.webkit.JsResult
     ↳ android.webkit.JsPromptResult

Class Overview

Public class for handling javascript prompt requests. A JsDialogHandlerInterface implentation will receive a jsPrompt call with a JsPromptResult parameter. This parameter is used to return a result to WebView. The client can call cancel() to cancel the dialog or confirm() with the user's input to confirm the dialog.

Summary

[Expand]
Inherited Fields
From class android.webkit.JsResult
Public Methods
void confirm(String result)
Handle a confirmation response from the user.
[Expand]
Inherited Methods
From class android.webkit.JsResult
From class java.lang.Object

Public Methods

public void confirm (String result)

Since: API Level 1

Handle a confirmation response from the user.