Class Context
Definition
- Assembly:
- Tizen.WebView.dll
This class encapsulates all the pages related to the specific use of the Chromium-efl.
public class Context
- Inheritance
-
objectContext
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 SourceCacheModel
The cache model.
Declaration
public CacheModel CacheModel { get; set; }
Property Value
Type | Description |
---|---|
CacheModel |
Remarks
The default cache model is DocumentViewer.
Methods
View SourceClearResourceCache()
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.
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.
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.
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.
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.
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.
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.