Class CookieManager

    Definition

    Namespace:
    Tizen.WebView
    Assembly:
    Tizen.WebView.dll

    This class provides methods for the cookie manager.

    public class CookieManager
    Inheritance
    object
    CookieManager

    Methods

    View Source

    ClearCookies()

    Deletes all the cookies.

    Declaration
    public void ClearCookies()
    View Source

    SetCookieAcceptPolicy(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.

    View Source

    SetPersistentStorage(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.

    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX