java.lang.Object | |
↳ | com.tencent.smtt.sdk.WebViewDatabase |
This class allows developers to determine whether any WebView used in the application has stored any of the following types of browsing data and to clear any such stored data for all WebViews in the application.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
clearFormData()
Clears any saved data for web forms.
| ||||||||||
void |
clearHttpAuthUsernamePassword()
Clears any saved credentials for HTTP authentication.
| ||||||||||
void |
clearUsernamePassword()
This method is deprecated.
Saving passwords in WebView will not be supported in future versions.
| ||||||||||
static WebViewDatabase | getInstance(Context context) | ||||||||||
boolean |
hasFormData()
Gets whether there is any saved data for web forms.
| ||||||||||
boolean |
hasHttpAuthUsernamePassword()
Gets whether there are any saved credentials for HTTP authentication.
| ||||||||||
boolean |
hasUsernamePassword()
This method is deprecated.
Saving passwords in WebView will not be supported in future versions.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Clears any saved credentials for HTTP authentication.
This method is deprecated.
Saving passwords in WebView will not be supported in future versions.
Clears any saved username/password pairs for web forms. Note that these are unrelated to HTTP authentication credentials.
Gets whether there is any saved data for web forms.
Gets whether there are any saved credentials for HTTP authentication.
This method is deprecated.
Saving passwords in WebView will not be supported in future versions.
Gets whether there are any saved username/password pairs for web forms. Note that these are unrelated to HTTP authentication credentials.