Meeting annotation tool interface.
More...
#include <meeting_annotation_interface.h>
|
virtual SDKError | SetEvent (IMeetingAnnotationSupportEvent *pEvent)=0 |
| Set the callback that annotation status changes. More...
|
|
virtual bool | IsAnnoataionDisable (SDKViewType viewtype=SDK_FIRST_VIEW)=0 |
| Determine if the annotation tools are disabled or not for the specified view during the current meeting. More...
|
|
virtual SDKError | StartAnnotation (SDKViewType viewtype, int left, int top)=0 |
| Display annotation toolbar. More...
|
|
virtual SDKError | StopAnnotation (SDKViewType viewtype)=0 |
| Close the current annotation toolbar. More...
|
|
virtual SDKError | SetTool (SDKViewType viewtype, AnnotationToolType type)=0 |
| Choose annotation tool. More...
|
|
virtual SDKError | Clear (SDKViewType viewtype, AnnotationClearType type)=0 |
| Clear present annotations. More...
|
|
virtual SDKError | SetColor (SDKViewType viewtype, unsigned long color)=0 |
| Set the colors of annotation tools. More...
|
|
virtual SDKError | SetLineWidth (SDKViewType viewtype, long lineWidth)=0 |
| Set the line width of annotation tools. More...
|
|
virtual SDKError | Undo (SDKViewType viewtype)=0 |
| Undo the last annotation. More...
|
|
virtual SDKError | Redo (SDKViewType viewtype)=0 |
| Redo the last-undo annotation. More...
|
|
virtual ICustomizedAnnotationController * | GetCustomizedAnnotationController (ICustomizedShareRender *pShareRender=NULL)=0 |
| Get the controller of annotation tools used in user custom interface mode. More...
|
|
virtual SDKError | DisableViewerAnnotation (SDKViewType viewtype, bool bDisable)=0 |
| Disallow/allow participants to annotate when viewing the sharing content. More...
|
|
virtual SDKError | IsViewerAnnotationDisabled (SDKViewType viewtype, bool &bDisabled)=0 |
| Determine if viewer's privilege of annotation is disabled. More...
|
|
virtual SDKError | CanDisableViewerAnnotation (SDKViewType viewtype, bool &bCan)=0 |
| Determine if it is able to disallow viewer to annotate. More...
|
|
virtual SDKError | CanDoAnnotation (SDKViewType viewtype, bool &bCan)=0 |
| Determine if it is able to annotate(Both the presenter and viewer can call the function). More...
|
|
Meeting annotation tool interface.
◆ CanDisableViewerAnnotation()
virtual SDKError IAnnotationController::CanDisableViewerAnnotation |
( |
SDKViewType |
viewtype, |
|
|
bool & |
bCan |
|
) |
| |
|
pure virtual |
Determine if it is able to disallow viewer to annotate.
- Parameters
-
[in] | viewtype | SDK_FIRST_VIEW/SDK_SECOND_VIEW |
[out] | bCan | TRUE means able, FALSE not. It validates only when the return value is SDKErr_Success. |
- Returns
- If the user owns the authority, the return value is SDKErr_Success. Otherwise not. To get extended error information, see SDKError enum.
◆ CanDoAnnotation()
Determine if it is able to annotate(Both the presenter and viewer can call the function).
- Parameters
-
[in] | viewtype | SDK_FIRST_VIEW/SDK_SECOND_VIEW |
[out] | bCan | TRUE means able, FALSE not. It validates only when the return value is SDKErr_Success. |
- Returns
- If the user owns the authority, the return value is SDKErr_Success. Otherwise not. To get extended error information, see SDKError enum.
◆ Clear()
Clear present annotations.
- Parameters
-
viewtype | Specify on which view to clear the annotations. For more details, see SDKViewType enum. |
type | Specify the ways to clear annotations. For the definitions of the tools, see AnnotationClearType enum. |
- Returns
- If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.
◆ DisableViewerAnnotation()
virtual SDKError IAnnotationController::DisableViewerAnnotation |
( |
SDKViewType |
viewtype, |
|
|
bool |
bDisable |
|
) |
| |
|
pure virtual |
Disallow/allow participants to annotate when viewing the sharing content.
- Parameters
-
[in] | viewtype | SDK_FIRST_VIEW/SDK_SECOND_VIEW |
[in] | disable | TRUE means disabled, FALSE not. |
- Returns
- If the user owns the authority, the return value is SDKErr_Success. Otherwise not. To get extended error information, see SDKError enum.
◆ GetCustomizedAnnotationController()
Get the controller of annotation tools used in user custom interface mode.
- Returns
- If the function succeeds, the return value is the controller of annotation tools used in user custom interface mode. If the function fails, the return value is NULL.
◆ IsAnnoataionDisable()
virtual bool IAnnotationController::IsAnnoataionDisable |
( |
SDKViewType |
viewtype = SDK_FIRST_VIEW | ) |
|
|
pure virtual |
Determine if the annotation tools are disabled or not for the specified view during the current meeting.
- Parameters
-
viewtype | Specify which view to be determined. For more details, see SDKViewType enum. |
- Returns
- FALSE indicates enabled while TRUE indicates disabled.
◆ IsViewerAnnotationDisabled()
virtual SDKError IAnnotationController::IsViewerAnnotationDisabled |
( |
SDKViewType |
viewtype, |
|
|
bool & |
bDisabled |
|
) |
| |
|
pure virtual |
Determine if viewer's privilege of annotation is disabled.
- Parameters
-
[in] | viewtype | SDK_FIRST_VIEW/SDK_SECOND_VIEW |
[out] | bDisabled | TRUE means disabled, FALSE not. It validates only when the return value is SDKErr_Success. |
- Returns
- If the user owns the authority, the return value is SDKErr_Success. Otherwise not. To get extended error information, see SDKError enum.
◆ Redo()
Redo the last-undo annotation.
- Parameters
-
viewtype | Specify on which view to redo the last-undo annotation. For more details, see SDKViewType enum. |
- Returns
- If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.
◆ SetColor()
Set the colors of annotation tools.
- Parameters
-
viewtype | The specified color is used on which view. For more details, see SDKViewType enum. |
color | Specify the color of the annotation tools in RGB format.
|
- Returns
- If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.
◆ SetEvent()
Set the callback that annotation status changes.
- Parameters
-
- Returns
- If the user owns the authority, the return value is SDKErr_Success. Otherwise not. To get extended error information, see SDKError enum.
◆ SetLineWidth()
Set the line width of annotation tools.
- Parameters
-
viewtype | The specified line width is used on which view. For more details, see SDKViewType enum. |
lineWidth | Specify the line width to annotate. |
- Returns
- If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.
◆ SetTool()
Choose annotation tool.
- Parameters
-
viewtype | Specify which view to display the toolbar. For more details, see SDKViewType enum. |
type | Specify the annotation tool to be used. For the definitions of the tools, see AnnotationToolType enum. |
- Returns
- If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.
◆ StartAnnotation()
virtual SDKError IAnnotationController::StartAnnotation |
( |
SDKViewType |
viewtype, |
|
|
int |
left, |
|
|
int |
top |
|
) |
| |
|
pure virtual |
Display annotation toolbar.
- Parameters
-
viewtype | Specify which view to display the toolbar. For more details, see SDKViewType enum. |
left | Specify X-axis coordinate of the upper-left corner for the toolbar. |
top | Specify Y-axis coordinate of the upper-left corner for the toolbar. |
- Returns
- If the function succeeds, the return value is SDKErr_Success. Otherwise failed. For extended error information, see SDKError enum.
◆ StopAnnotation()
Close the current annotation toolbar.
- Parameters
-
viewtype | Specify which view to close the toolbar. For more details, see SDKViewType enum. |
- Returns
- If the function succeeds, the return value is SDKErr_Success. Otherwise failed. For extended error information, see SDKError enum.
◆ Undo()
Undo the last annotation.
- Parameters
-
viewtype | Specify on which view to undo the last annotation. For more details, see SDKViewType enum. |
- Returns
- If the function succeeds, the return value is SDKErr_Success. Otherwise failed. To get extended error information, see SDKError enum.
The documentation for this class was generated from the following file: