Class WebContext

    Definition

    Namespace:
    Tizen.NUI
    Assembly:
    Tizen.NUI.dll

    WebContext is a class for context of web view.

    public class WebContext : Disposable
    Inheritance
    object
    Disposable
    WebContext

    Properties

    View Source

    AppId

    App ID.

    Declaration
    public string AppId { get; set; }
    Property Value
    Type Description
    string
    View Source

    AppType

    App type.

    Declaration
    public WebContext.ApplicationType AppType { get; set; }
    Property Value
    Type Description
    WebContext.ApplicationType
    View Source

    AppVersion

    App version.

    Declaration
    public string AppVersion { get; set; }
    Property Value
    Type Description
    string
    View Source

    CacheEnabled

    Enables cache or not.

    Declaration
    public bool CacheEnabled { get; set; }
    Property Value
    Type Description
    bool
    View Source

    CacheModel

    Cache model

    Declaration
    public WebContext.CacheModelType CacheModel { get; set; }
    Property Value
    Type Description
    WebContext.CacheModelType
    View Source

    CertificateFilePath

    Certificate file path.

    Declaration
    public string CertificateFilePath { get; set; }
    Property Value
    Type Description
    string
    View Source

    ContextProxy

    Deprecated. Gets context proxy.

    Declaration
    public string ContextProxy { get; }
    Property Value
    Type Description
    string
    View Source

    DefaultZoomFactor

    Default zoom factor.

    Declaration
    public float DefaultZoomFactor { get; set; }
    Property Value
    Type Description
    float
    View Source

    ProxyBypassRule

    Gets proxy bypass rule.

    Declaration
    public string ProxyBypassRule { get; }
    Property Value
    Type Description
    string
    View Source

    ProxyUrl

    Proxy URL.

    Declaration
    public string ProxyUrl { get; set; }
    Property Value
    Type Description
    string
    View Source

    TimeOffset

    Time offset.

    Declaration
    public float TimeOffset { get; set; }
    Property Value
    Type Description
    float

    Methods

    View Source

    ClearCache()

    Clears cache.

    Declaration
    public void ClearCache()
    View Source

    DeleteAllApplicationCache()

    Deletes all application cache.

    Declaration
    public bool DeleteAllApplicationCache()
    Returns
    Type Description
    bool
    View Source

    DeleteAllFormCandidateData()

    Deletes all candidate data.

    Declaration
    public void DeleteAllFormCandidateData()
    View Source

    DeleteAllFormPasswordData()

    Deletes all password data.

    Declaration
    public void DeleteAllFormPasswordData()
    View Source

    DeleteAllWebDatabase()

    Deletes all web database.

    Declaration
    public void DeleteAllWebDatabase()
    View Source

    DeleteAllWebIndexedDatabase()

    Deletes all web indexed database.

    Declaration
    public bool DeleteAllWebIndexedDatabase()
    Returns
    Type Description
    bool
    View Source

    DeleteAllWebStorage()

    Deletes all web storage.

    Declaration
    public void DeleteAllWebStorage()
    View Source

    DeleteApplicationCache(WebSecurityOrigin)

    Deletes web application cache by origin.

    Declaration
    public bool DeleteApplicationCache(WebSecurityOrigin origin)
    Parameters
    Type Name Description
    WebSecurityOrigin origin

    security origin of web application

    Returns
    Type Description
    bool
    View Source

    DeleteFormPasswordDataList(string[])

    Deletes password dataList.

    Declaration
    public void DeleteFormPasswordDataList(string[] passwords)
    Parameters
    Type Name Description
    string[] passwords

    The string array of data list

    View Source

    DeleteLocalFileSystem()

    Deletes directories and files in local file system.

    Declaration
    public void DeleteLocalFileSystem()
    View Source

    DeleteWebDatabase(WebSecurityOrigin)

    Deletes web databases by origin.

    Declaration
    public bool DeleteWebDatabase(WebSecurityOrigin origin)
    Parameters
    Type Name Description
    WebSecurityOrigin origin

    security origin of web database

    Returns
    Type Description
    bool
    View Source

    DeleteWebStorage(WebSecurityOrigin)

    Deletes web storage by origin.

    Declaration
    public bool DeleteWebStorage(WebSecurityOrigin origin)
    Parameters
    Type Name Description
    WebSecurityOrigin origin

    security origin of web storage

    Returns
    Type Description
    bool
    View Source

    Dispose(DisposeTypes)

    Dispose for IDisposable pattern

    Declaration
    protected override void Dispose(DisposeTypes type)
    Parameters
    Type Name Description
    DisposeTypes type
    Overrides
    Disposable.Dispose(DisposeTypes)
    View Source

    FreeUnusedMemory()

    Frees unused memory.

    Declaration
    public bool FreeUnusedMemory()
    Returns
    Type Description
    bool
    View Source

    GetFormPasswordList(PasswordDataListAcquiredCallback)

    Gets a list of all password data asynchronously.

    Declaration
    public void GetFormPasswordList(WebContext.PasswordDataListAcquiredCallback callback)
    Parameters
    Type Name Description
    WebContext.PasswordDataListAcquiredCallback callback

    callback for acquiring password data list

    View Source

    GetWebDatabaseOrigins(SecurityOriginListAcquiredCallback)

    Gets security origins of web database asynchronously.

    Declaration
    public bool GetWebDatabaseOrigins(WebContext.SecurityOriginListAcquiredCallback callback)
    Parameters
    Type Name Description
    WebContext.SecurityOriginListAcquiredCallback callback

    callback for acquiring security origins

    Returns
    Type Description
    bool
    View Source

    GetWebStorageOrigins(SecurityOriginListAcquiredCallback)

    Gets a list of security origins of web storage asynchronously.

    Declaration
    public bool GetWebStorageOrigins(WebContext.SecurityOriginListAcquiredCallback callback)
    Parameters
    Type Name Description
    WebContext.SecurityOriginListAcquiredCallback callback

    callback for acquiring security origins

    Returns
    Type Description
    bool
    View Source

    GetWebStorageUsageForOrigin(WebSecurityOrigin, StorageUsageAcquiredCallback)

    Gets a list of security origins of web storage asynchronously.

    Declaration
    public bool GetWebStorageUsageForOrigin(WebSecurityOrigin origin, WebContext.StorageUsageAcquiredCallback callback)
    Parameters
    Type Name Description
    WebSecurityOrigin origin

    security origin of web storage

    WebContext.StorageUsageAcquiredCallback callback

    callback for acquiring storage usage

    Returns
    Type Description
    bool
    View Source

    RegisterDownloadStartedCallback(DownloadStartedCallback)

    Registers callback for download started.

    Declaration
    public void RegisterDownloadStartedCallback(WebContext.DownloadStartedCallback callback)
    Parameters
    Type Name Description
    WebContext.DownloadStartedCallback callback

    callback for download started

    View Source

    RegisterHttpRequestInterceptedCallback(HttpRequestInterceptedCallback)

    Registers callback for http request interceptor. This callback is not called on UI(Main) thread, so users should be cautious when accessing their data also used on UI thread. No other than WebEngineRequestInterceptor API should be used in the callback.

    Declaration
    public void RegisterHttpRequestInterceptedCallback(WebContext.HttpRequestInterceptedCallback callback)
    Parameters
    Type Name Description
    WebContext.HttpRequestInterceptedCallback callback

    callback for intercepting http request

    View Source

    RegisterJsPluginMimeTypes(string[])

    Registers JS plugin mime types.

    Declaration
    public void RegisterJsPluginMimeTypes(string[] mimes)
    Parameters
    Type Name Description
    string[] mimes

    The string array of types

    View Source

    RegisterMimeOverriddenCallback(MimeOverriddenCallback)

    Registers callback for overriding MIME type.

    Declaration
    public void RegisterMimeOverriddenCallback(WebContext.MimeOverriddenCallback callback)
    Parameters
    Type Name Description
    WebContext.MimeOverriddenCallback callback

    callback for overriding MIME type

    View Source

    RegisterUrlSchemesAsCorsEnabled(string[])

    Registers URL schemes enabled.

    Declaration
    public void RegisterUrlSchemesAsCorsEnabled(string[] schemes)
    Parameters
    Type Name Description
    string[] schemes

    The string array of schemes

    View Source

    SetContextProxy(string, string)

    Deprecated. Sets proxy bypass rule.

    Declaration
    public void SetContextProxy(string proxy, string rule)
    Parameters
    Type Name Description
    string proxy

    The proxy string

    string rule

    Bypass rule

    View Source

    SetContextTimeZoneOffset(float, float)

    Deprecated. Sets context time zone offset.

    Declaration
    public void SetContextTimeZoneOffset(float offset, float time)
    Parameters
    Type Name Description
    float offset

    Time offset

    float time

    Daylight saving time

    View Source

    SetDefaultProxyAuth(string, string)

    Sets default proxy auth.

    Declaration
    public void SetDefaultProxyAuth(string username, string password)
    Parameters
    Type Name Description
    string username

    Default username for proxy

    string password

    Default password for proxy

    View Source

    SetProxyBypassRule(string, string)

    Sets proxy bypass rule.

    Declaration
    public void SetProxyBypassRule(string proxy, string rule)
    Parameters
    Type Name Description
    string proxy

    The proxy string

    string rule

    Bypass rule

    View Source

    SetTimeZoneOffset(float, float)

    Sets context time zone offset.

    Declaration
    public void SetTimeZoneOffset(float offset, float time)
    Parameters
    Type Name Description
    float offset

    Time offset

    float time

    Daylight saving time

    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