Class CookieManager

Definition

Namespace:
Tizen.WebView
Assembly:
Tizen.WebView.dll
API Level:
4

This class provides methods for the cookie manager.

C#
Copy
[Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] public class CookieManager
Inheritance
System.Object
CookieManager

Methods

View Source

ClearCookies()

Deletes all the cookies.

Declaration
C#
Copy
[Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] public void ClearCookies()
API Level: 4
View Source

SetCookieAcceptPolicy(CookieAcceptPolicy)

Sets the cookie acceptance policy.

Declaration
C#
Copy
[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.

API Level: 4
View Source

SetPersistentStorage(String, CookiePersistentStorage)

Sets the storage where the non-session cookies are stored persistently, to read/write the cookies.

Declaration
C#
Copy
[Obsolete("Deprecated since API Level 10. Will be removed in API Level 12.")] public void SetPersistentStorage(string path, CookiePersistentStorage storage)
Parameters
Type Name Description
System.String path

The path where to read/write cookies.

CookiePersistentStorage storage

The type of storage.

API Level: 4
Privilege Level: public
Privilege: http://tizen.org/privilege/mediastoragehttp://tizen.org/privilege/externalstorage