Windows SDK API Reference
embedded_browser_interface.h
Go to the documentation of this file.
1
6#ifndef _EMBEDDED_BROWSER_INTERFACE_H_
7#define _EMBEDDED_BROWSER_INTERFACE_H_
8#include "zoom_sdk_def.h"
9
11
17{
31};
32
36{
37public:
40 virtual void NotifyBeforeNavigate(const char* url) = 0;
41
44 virtual void NotifyDocumentComplete(const char* url) = 0;
45
50 virtual void NotifyNavigateError(const char* url, NavigateError err, int component_err) = 0;
51};
52
56{
57public:
63
68 virtual SDKError Navigate(const char* url) = 0;
69
73 virtual SDKError Resize() = 0;
74
77 virtual const char* GetURL() = 0;
78
83 virtual const char* GetTitle() = 0;
84
88 virtual SDKError GoBack() = 0;
89
93 virtual SDKError GoForward() = 0;
94
98 virtual SDKError DoRefresh() = 0;
99
103 virtual SDKError DoStop() = 0;
104};
106#endif
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
Definition: zoom_sdk_def.h:21
#define BEGIN_ZOOM_SDK_NAMESPACE
Definition: zoom_sdk_def.h:20
SDKError
SDK error types. Here are more detailed structural descriptions.
Definition: zoom_sdk_def.h:30