Class CookieManager
Definition
- Namespace:
- Tizen.WebView
- Assembly:
- Tizen.WebView.dll
- API Level:
- 4
This class provides methods for the cookie manager.
public class CookieManager
- Inheritance
-
CookieManager
Methods
View SourceClearCookies()
Deletes all the cookies.
Declaration
public void ClearCookies()
API Level: 4
View SourceSetCookieAcceptPolicy(CookieAcceptPolicy)
Sets the cookie acceptance policy.
Declaration
public void SetCookieAcceptPolicy(CookieAcceptPolicy policy)
Parameters
Type | Name | Description |
---|---|---|
CookieAcceptPolicy | policy | The cookie acceptance policy. |
Remarks
By default, only cookies set by the main document that is loaded, are accepted.
API Level: 4
View SourceSetPersistentStorage(String, CookiePersistentStorage)
Sets the storage where the non-session cookies are stored persistently, to read/write the cookies.
Declaration
public void SetPersistentStorage(string path, CookiePersistentStorage storage)
Parameters
Type | Name | Description |
---|---|---|
String | path | The path where to read/write cookies. |
CookiePersistentStorage | storage | The type of storage. |