Build 1.0_r1(from source)

android.webkit
Class JsPromptResult

java.lang.Object
  extended by android.webkit.JsResult
      extended by android.webkit.JsPromptResult

public class JsPromptResult
extends JsResult

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.


Field Summary
 
Fields inherited from class android.webkit.JsResult
mProxy, mResult
 
Constructor Summary
JsPromptResult(CallbackProxy proxy)
           
 
Method Summary
 void confirm(String result)
          Handle a confirmation response from the user.
(package private)  String getStringResult()
           
(package private)  void handleDefault()
           
 
Methods inherited from class android.webkit.JsResult
cancel, confirm, getResult, setReady, wakeUp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JsPromptResult

JsPromptResult(CallbackProxy proxy)
Method Detail

confirm

public void confirm(String result)
Handle a confirmation response from the user.


getStringResult

String getStringResult()

handleDefault

void handleDefault()
Overrides:
handleDefault in class JsResult

Build 1.0_r1(from source)

Please submit a feedback, bug or feature