Class Context
Definition
- Namespace:
- Tizen.WebView
- Assembly:
- Tizen.WebView.dll
- API Level:
- 4
This class encapsulates all the pages related to the specific use of the Chromium-efl.
C#Copypublic class Context : object
- Inheritance
-
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
Declaration
C#Copypublic CacheModel CacheModel { get; set; }
Property Value
Type | Description |
---|---|
CacheModel |
Remarks
The default cache model is DocumentViewer.
API Level: 4
Methods
View Source
ClearResourceCache()
Clears HTTP caches in the local storage and all resources cached in memory.
Declaration
C#Copypublic void ClearResourceCache()
API Level: 6
Declaration
C#Copypublic CookieManager GetCookieManager()
Returns
Type | Description |
---|---|
CookieManager | The CookieManager object. |
API Level: 4
Declaration
C#Copypublic void NotifyLowMemory()
API Level: 6
View Source
SetDownloadRequestDelegate(Context.DownloadRequestDelegate)
Sets the delegate function for download request.
Declaration
C#Copypublic void SetDownloadRequestDelegate(Context.DownloadRequestDelegate startDownloadCb)
Parameters
Type | Name | Description |
---|---|---|
Context.DownloadRequestDelegate | startDownloadCb |
API Level: 6
View Source
SetInterceptRequestDelegate(Context.InterceptRequestDelegate)
Sets the delegate function for intercepting a resource request.
Declaration
C#Copypublic void SetInterceptRequestDelegate(Context.InterceptRequestDelegate interceptRequestCb)
Parameters
Type | Name | Description |
---|---|---|
Context.InterceptRequestDelegate | interceptRequestCb | The delegate function for intercepting a resource request. |
API Level: 8
Declaration
C#Copypublic uint StartInspectorServer(uint port)
Parameters
Type | Name | Description |
---|---|---|
UInt32 | port | The port number. |
Returns
Type | Description |
---|---|
UInt32 |
API Level: 8
Declaration
C#Copypublic void StopInspectorServer()