public interface InMeetingAnnotationController
Modifier and Type | Interface and Description |
---|---|
static class |
InMeetingAnnotationController.AnnotationToolType
Annotation tool types in meeting.
|
static interface |
InMeetingAnnotationController.InMeetingAnnotationListener
Callback event of meeting annotaion share.
|
Modifier and Type | Method and Description |
---|---|
void |
addListener(InMeetingAnnotationController.InMeetingAnnotationListener listener)
Register a listener for meeting shared callback event.
|
boolean |
canDisableViewerAnnotation()
Query if support to disable viewer's annotation item.
|
boolean |
canDoAnnotation()
Query can do annotation or not.
|
MobileRTCSDKError |
clear()
Clear annotations.
|
MobileRTCSDKError |
disableViewerAnnotation(boolean isDisable)
disable viewer's annotation.
|
boolean |
isPresenter()
Query if the current user himself is presenter.
|
boolean |
isViewerAnnotationDisabled()
Query currently sender disabled the viewer's annotation or not.
|
MobileRTCSDKError |
redo()
Redo the last annotation.
|
void |
removeListener(InMeetingAnnotationController.InMeetingAnnotationListener listener)
Unregister the listener.
|
MobileRTCSDKError |
setToolColor(int color)
Set the colors of annotation tools.
|
MobileRTCSDKError |
setToolType(InMeetingAnnotationController.AnnotationToolType toolType)
Set the types of annotation tools.
|
MobileRTCSDKError |
setToolWidth(int width)
Set the line width of annotation tool.
|
MobileRTCSDKError |
startAnnotation()
Start to annotate.
|
MobileRTCSDKError |
stopAnnotation()
Stop current annotation.
|
MobileRTCSDKError |
undo()
Undo the last annotation.
|
void addListener(InMeetingAnnotationController.InMeetingAnnotationListener listener)
listener
- The listener instance.void removeListener(InMeetingAnnotationController.InMeetingAnnotationListener listener)
listener
- The listener instanceMobileRTCSDKError startAnnotation()
MobileRTCSDKError
.MobileRTCSDKError stopAnnotation()
MobileRTCSDKError
.MobileRTCSDKError setToolColor(int color)
color
- Specify the color of the annotation tools.MobileRTCSDKError
.MobileRTCSDKError setToolType(InMeetingAnnotationController.AnnotationToolType toolType)
toolType
- Set the tool types defined in InMeetingAnnotationController.AnnotationToolType
.MobileRTCSDKError
.MobileRTCSDKError setToolWidth(int width)
width
- Specify the value of line width.MobileRTCSDKError
.MobileRTCSDKError clear()
MobileRTCSDKError
.MobileRTCSDKError undo()
MobileRTCSDKError
.MobileRTCSDKError redo()
MobileRTCSDKError
.boolean isPresenter()
MobileRTCSDKError
.boolean canDisableViewerAnnotation()
boolean isViewerAnnotationDisabled()
boolean canDoAnnotation()
MobileRTCSDKError disableViewerAnnotation(boolean isDisable)
isDisable
- If disable viewer annotation.MobileRTCSDKError
if disabled the viewer's annotation success