Package | com.myflashlab.air.extensions.richWebView.android |
Class | public class WebViewDatabase |
Inheritance | WebViewDatabase Object |
RichWebView.android.webviewDatabase
Method | Defined By | ||
---|---|---|---|
clearFormData():void
Clears any saved data for web forms. | WebViewDatabase | ||
Clears any saved credentials for HTTP authentication. | WebViewDatabase | ||
getHttpAuthUsernamePassword($host:String, $realm:String):Object
Retrieves HTTP authentication credentials for a given host and realm from the WebViewDatabase instance. | WebViewDatabase | ||
hasFormData():Boolean
Gets whether there is any saved data for web forms. | WebViewDatabase | ||
hasHttpAuthUsernamePassword():Boolean
Gets whether there are any saved credentials for HTTP authentication. | WebViewDatabase | ||
setHttpAuthUsernamePassword($host:String, $realm:String, $username:String, $password:String):void
Stores HTTP authentication credentials for a given host and realm to the WebViewDatabase instance. | WebViewDatabase |
clearFormData | () | method |
public function clearFormData():void
Clears any saved data for web forms.
clearHttpAuthUsernamePassword | () | method |
public function clearHttpAuthUsernamePassword():void
Clears any saved credentials for HTTP authentication. This method only clears the username and password stored in WebViewDatabase instance.
The username and password used for http authentication might be cached in the network stack itself, and are not cleared when this method is called. WebView does not provide a special mechanism to clear HTTP authentication for implementing client logout. The client logout mechanism should be implemented by the Web site designer (such as server sending a HTTP 401 for invalidating credentials).
getHttpAuthUsernamePassword | () | method |
public function getHttpAuthUsernamePassword($host:String, $realm:String):Object
Retrieves HTTP authentication credentials for a given host and realm from the WebViewDatabase instance.
Works on Android 26+
Parameters
$host:String — the host to which the credentials apply
| |
$realm:String — the realm to which the credentials apply
|
Object — |
hasFormData | () | method |
public function hasFormData():Boolean
Gets whether there is any saved data for web forms.
ReturnsBoolean — |
hasHttpAuthUsernamePassword | () | method |
public function hasHttpAuthUsernamePassword():Boolean
Gets whether there are any saved credentials for HTTP authentication.
ReturnsBoolean — |
setHttpAuthUsernamePassword | () | method |
public function setHttpAuthUsernamePassword($host:String, $realm:String, $username:String, $password:String):void
Stores HTTP authentication credentials for a given host and realm to the WebViewDatabase instance.
Works on Android 26+
Parameters
$host:String | |
$realm:String | |
$username:String | |
$password:String |