/// <summary>
/// It is a class for load error of page of web view.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public class WebPageLoadError : Disposable
{
internal WebPageLoadError(global::System.IntPtr cPtr, bool cMemoryOwn) : base(cPtr, cMemoryOwn)
/// <summary>
/// Enumeration for the load error type
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public enum ErrorType
{
/// <summary>
/// None.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
None,
/// <summary>
/// Internal error.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
Internal,
/// <summary>
/// Network error.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
Network,
/// <summary>
/// Policy error.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
Policy,
/// <summary>
/// Plugin error.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
Plugin,
/// <summary>
/// Download error.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
Download,
/// <summary>
/// Print error.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
Print,
}
/// <summary>
/// Enumeration for the load error code
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public enum ErrorCode
{
/// <summary>
/// Unknown.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
Unknown,
/// <summary>
/// User canceled.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
Canceled,
/// <summary>
/// Can't show the page for this MIME type.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
CantSupportMimetype,
/// <summary>
/// File IO error.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
FailedFileIo,
/// <summary>
/// Cannot connect to the network.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
CannotConnect,
/// <summary>
/// Fail to look up host from the DNS.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
CannotLookupHost,
/// <summary>
/// Fail to SSL/TLS handshake.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
FailedTlsHandshake,
/// <summary>
/// Received certificate is invalid.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
InvalidCertificate,
/// <summary>
/// Connection timeout.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
RequestTimeout,
/// <summary>
/// Too many redirects.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
TooManyRedirects,
/// <summary>
/// Too many requests during this load.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
TooManyRequests,
/// <summary>
/// Malformed URL.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
BadUrl,
/// <summary>
/// Unsupported scheme.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
UnsupportedScheme,
/// <summary>
/// User authentication failed on the server.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
Authentication,
/// <summary>
/// Web server has an internal server error.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
InternalServer,
/// <summary>
/// Other error.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
Other,
}
/// <summary>
/// Queries failing URL for this error.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public string Url
{
get
/// <summary>
/// Queries code for this error.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public ErrorCode Code
{
get
/// <summary>
/// Queries description for this error.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public string Description
{
get
/// <summary>
/// Queries type for this error.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public ErrorType Type
{
get
namespace Tizen.NUI.BaseComponents
{
/// <summary>
- /// WebView
+ /// WebView allows presenting content with embedded web browser, both local files and remote websites.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public class WebView : View
{
private Color contentBackgroundColor;
/// <summary>
/// Creates a WebView.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public WebView() : this(Interop.WebView.New(), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
/// <summary>
- /// Creates a WebView with local language and time zone.
- /// <param name="locale">The locale language of Web</param>
- /// <param name="timezoneId">The time zone Id of Web</param>
+ /// Creates a WebView with locale and time-zone.
/// </summary>
+ /// <param name="locale">The specified locale</param>
+ /// <param name="timezoneId">The specified time-zone ID</param>
[EditorBrowsable(EditorBrowsableState.Never)]
public WebView(string locale, string timezoneId) : this(Interop.WebView.New2(locale, timezoneId), true)
{
/// <summary>
/// Creates a WebView with an args list.
- /// <param name="args">args array. The first value of array must be program's name.</param>
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <param name="args">Arguments passed into web engine. The first value of array must be program's name.</param>
+ /// <since_tizen> 9 </since_tizen>
public WebView(string[] args) : this(Interop.WebView.New3(args?.Length ?? 0, args), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// <summary>
/// Copy constructor.
- /// <param name="webView">WebView to copy. The copied WebView will point at the same implementation</param>
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <param name="webView">WebView to copy. The copied WebView will point at the same implementation</param>
+ /// <since_tizen> 9 </since_tizen>
public WebView(WebView webView) : this(Interop.WebView.NewWebView(WebView.getCPtr(webView)), true)
{
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
/// Event for the PageLoadStarted signal which can be used to subscribe or unsubscribe the event handler.<br />
/// This signal is emitted when page loading has started.<br />
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public event EventHandler<WebViewPageLoadEventArgs> PageLoadStarted
{
add
/// Event for the PageLoading signal which can be used to subscribe or unsubscribe the event handler.<br />
/// This signal is emitted when page loading is in progress.<br />
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public event EventHandler<WebViewPageLoadEventArgs> PageLoading
{
add
/// Event for the PageLoadFinished signal which can be used to subscribe or unsubscribe the event handler.<br />
/// This signal is emitted when page loading has finished.<br />
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public event EventHandler<WebViewPageLoadEventArgs> PageLoadFinished
{
add
/// Event for the PageLoadError signal which can be used to subscribe or unsubscribe the event handler.<br />
/// This signal is emitted when there's an error in page loading.<br />
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public event EventHandler<WebViewPageLoadErrorEventArgs> PageLoadError
{
add
public WebSettings Settings { get; }
/// <summary>
- /// The url to load.
+ /// The URL to load.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public string Url
{
get
/// <summary>
/// The user agent string.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public string UserAgent
{
get
/// <summary>
/// Gets title of web page.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public string Title
{
get
/// <summary>
/// Gets favicon of web page.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public ImageView Favicon
{
get
/// <summary>
/// Gets percentage of loading progress.
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <since_tizen> 9 </since_tizen>
public float LoadProgressPercentage
{
get
/// <summary>
/// Loads a html.
- /// <param name="url">The path of Web</param>
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <param name="url">The path of Web</param>
+ /// <remarks>
+ /// The following privileges are required:
+ /// http://tizen.org/privilege/internet for remote web pages of websites.
+ /// http://tizen.org/privilege/mediastorage for local files in media storage.
+ /// http://tizen.org/privilege/externalstorage for local files in external storage.
+ /// </remarks>
+ /// <since_tizen> 9 </since_tizen>
public void LoadUrl(string url)
{
Interop.WebView.LoadUrl(SwigCPtr, url);
/// <summary>
/// Loads a html by string.
- /// <param name="data">The data of Web</param>
/// </summary>
- [EditorBrowsable(EditorBrowsableState.Never)]
+ /// <param name="data">The data of Web</param>
+ /// <since_tizen> 9 </since_tizen>
public void LoadHtmlString(string data)
{
Interop.WebView.LoadHtmlString(SwigCPtr, data);