Class Context

    Definition

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

    This class encapsulates all the pages related to the specific use of the Chromium-efl.

    public class Context
    Inheritance
    object
    Context
    Remarks

    Applications have the option of creating a context different from the default one and using it for a group of pages. All pages in the same context share the same preferences, visited link set, local storage, and so on.

    Properties

    View Source

    CacheModel

    The cache model.

    Declaration
    public CacheModel CacheModel { get; set; }
    Property Value
    Type Description
    CacheModel
    Remarks

    The default cache model is DocumentViewer.

    Methods

    View Source

    ClearResourceCache()

    Clears HTTP caches in the local storage and all resources cached in memory.

    Declaration
    public void ClearResourceCache()
    Remarks

    Applications have the option of creating a context different from the default one and using it for a group of pages. All pages in the same context share the same preferences, visited link set, local storage, and so on.

    View Source

    GetCookieManager()

    Gets the CookieManager object for this context.

    Declaration
    public CookieManager GetCookieManager()
    Returns
    Type Description
    CookieManager

    The CookieManager object.

    Remarks

    Applications have the option of creating a context different from the default one and using it for a group of pages. All pages in the same context share the same preferences, visited link set, local storage, and so on.

    View Source

    NotifyLowMemory()

    Informs the WebEngine low memory to release unused memory.

    Declaration
    public void NotifyLowMemory()
    Remarks

    Applications have the option of creating a context different from the default one and using it for a group of pages. All pages in the same context share the same preferences, visited link set, local storage, and so on.

    View Source

    SetDownloadRequestDelegate(DownloadRequestDelegate)

    Sets the delegate function for download request.

    Declaration
    public void SetDownloadRequestDelegate(Context.DownloadRequestDelegate startDownloadCb)
    Parameters
    Type Name Description
    Context.DownloadRequestDelegate startDownloadCb
    Remarks

    Applications have the option of creating a context different from the default one and using it for a group of pages. All pages in the same context share the same preferences, visited link set, local storage, and so on.

    View Source

    SetInterceptRequestDelegate(InterceptRequestDelegate)

    Sets the delegate function for intercepting a resource request.

    Declaration
    public void SetInterceptRequestDelegate(Context.InterceptRequestDelegate interceptRequestCb)
    Parameters
    Type Name Description
    Context.InterceptRequestDelegate interceptRequestCb

    The delegate function for intercepting a resource request.

    Remarks

    Applications have the option of creating a context different from the default one and using it for a group of pages. All pages in the same context share the same preferences, visited link set, local storage, and so on.

    View Source

    StartInspectorServer(uint)

    Starts the inspector server.

    Declaration
    public uint StartInspectorServer(uint port)
    Parameters
    Type Name Description
    uint port

    The port number.

    Returns
    Type Description
    uint
    Remarks

    Applications have the option of creating a context different from the default one and using it for a group of pages. All pages in the same context share the same preferences, visited link set, local storage, and so on.

    View Source

    StopInspectorServer()

    Stops the inspector server.

    Declaration
    public void StopInspectorServer()
    Remarks

    Applications have the option of creating a context different from the default one and using it for a group of pages. All pages in the same context share the same preferences, visited link set, local storage, and so on.

    Extension Methods

    EXamlExtensions.LoadFromEXaml<T>(T, string)
    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    EXamlExtensions.LoadFromEXamlPath<TXaml>(TXaml, string)
    EXamlExtensions.LoadFromEXamlPath<T>(T, Type)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX