6#ifndef _EMBEDDED_BROWSER_INTERFACE_H_
7#define _EMBEDDED_BROWSER_INTERFACE_H_
Embedded Browser Callback Event.
virtual void NotifyNavigateError(const char *url, NavigateError err, int component_err)=0
The callback event will be triggered the moment an error occurs while the embedded browser visits the...
virtual void NotifyBeforeNavigate(const char *url)=0
The callback event will be triggered before the embedded browser starts to navigate.
virtual void NotifyDocumentComplete(const char *url)=0
The callback event will be triggered once the embedded browser receives all the information.
Embedded Browser Interface.
virtual SDKError DoStop()=0
Cancel all pending navigations or dynamic elements, such as background sounds and animations.
virtual SDKError GoBack()=0
Navigate to the previous page by the web control if exists navigation history.
virtual SDKError DoRefresh()=0
Reloads the present document displayed on the web browser.
virtual SDKError Navigate(const char *url)=0
Start to navigate.
virtual SDKError SetEvent(IEmbeddedBrowserEvent *pEvent)=0
Set embedded browser callback event handler.
virtual SDKError Resize()=0
Resize the embedded browser window to cover the client area of the parent window.
virtual SDKError GoForward()=0
Navigate to the next page by the web control if exists navigation history.
virtual const char * GetTitle()=0
Get the title of the present displayed content.
virtual const char * GetURL()=0
Gets the URL matched to the present displayed content or get the full path of file,...
NavigateError
Navigation error code. Here are more detailed structural descriptions.
@ NavigateError_Success
Navigation successful.
@ NavigateError_InvalidUrl
INET_E_INVALID_URL (0x800C0002L or -2146697214)
@ NavigateError_Others
Some other issues.
@ NavigateError_ConnectionTimeout
INET_E_CONNECTION_TIMEOUT (0x800C000BL or -2146697205)
@ NavigateError_ResourceNotFound
INET_E_RESOURCE_NOT_FOUND (0x800C0005L or -2146697211)
@ NavigateError_ObjNotFound
INET_E_OBJECT_NOT_FOUND (0x800C0006L or -2146697210)
@ NavigateError_CannotConnect
INET_E_CANNOT_CONNECT (0x800C0004L or -2146697212)
@ NavigateError_BrowserContainerError
Browser container error.
@ NavigateError_DownloadFailure
INET_E_DOWNLOAD_FAILURE (0x800C0008L or -2146697208)
@ NavigateError_HttpStatus
HTTP requests some related errors.
@ NavigateError_CannotLoadData
INET_E_CANNOT_LOAD_DATA (0x800C000FL or -2146697201)
@ NavigateError_NoSession
INET_E_NO_SESSION (0x800C0003L or -2146697213)
@ NavigateError_DataNotAvailable
INET_E_DATA_NOT_AVAILABLE (0x800C0007L or -2146697209)
ZOOM windows SDK Common Definition File.
#define END_ZOOM_SDK_NAMESPACE
#define BEGIN_ZOOM_SDK_NAMESPACE
SDKError
SDK error types. Here are more detailed structural descriptions.