WebkitCookieManager
WebkitCookieManager
Functions:
- Flush As String
Ensures all cookies currently accessible through the getCookie API are written to persistent storage.
Added in API level 21.
- GetCookie (Url As String) As String
Gets all the cookies for the given URL.
Added in API level 1.
- HasCookies As Boolean
Gets whether there are stored cookies.
Added in API level 1.
- Initialize (WebView1 As WebView) As String
Initializes the object.
Pass Native B4A WebView to initialize new instance.
Added in API level 1.
- RemoveAllCookies As String
Removes all cookies.
Added in API level 1.
- RemoveExpiredCookie As String
This method was deprecated in API level 21. The WebView handles removing expired cookies automatically.
Added in API level 1.
- RemoveSessionCookies As String
Removes all session cookies, which are cookies without an expiration date.
Added in API level 1.
- SetCookie (Url As String, Value As String) As String
Sets a single cookie (key-value pair) for the given URL.
Added in API level 21.
- IsInitialized As Boolean
Tests whether the object has been initialized.
Properties:
- AcceptCookies As Boolean
Gets or sets whether the application's UltimateWebView instances send and accept cookies.
Added in API level 1.
- AcceptFileSchemeCookies As Boolean
Gets or sets whether the application's UltimateWebView instances should send and accept cookies for file scheme URLs.
This method was deprecated in API level 30. This setting is not secure.
Added in API level 12
- AcceptThirdPartyCookies As Boolean
Gets or sets whether the UltimateWebView should allow third party cookies to be set.
Added in API level 21.