Class CookieManager
Definition
- Assembly:
- Tizen.WebView.dll
This class provides methods for the cookie manager.
[Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")]
public class CookieManager
- Inheritance
-
objectCookieManager
Methods
View SourceClearCookies()
Deletes all the cookies.
Declaration
[Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")]
public void ClearCookies()
SetCookieAcceptPolicy(CookieAcceptPolicy)
Sets the cookie acceptance policy.
Declaration
[Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")]
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.
SetPersistentStorage(string, CookiePersistentStorage)
Sets the storage where the non-session cookies are stored persistently, to read/write the cookies.
Declaration
[Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")]
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. |