Meeting SDK for iOS API Reference
Loading...
Searching...
No Matches
MobileRTCAnnotationService.h
Go to the documentation of this file.
1//
2// MobileRTCAnnotationService.h
3// MobileRTC
4//
5// Created by Zoom Communications on 2018/6/12.
6// Copyright © Zoom Communications, Inc. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10
64
76
88@protocol MobileRTCAnnotationServiceDelegate <NSObject>
94@optional
95- (void)onAnnotationService:(nullable MobileRTCAnnotationService *)service supportStatusChanged:(BOOL)support shareSouceID:(NSUInteger)shareSourceID;
96@end
97
102@interface MobileRTCAnnotationService : NSObject
103
107@property (weak, nonatomic) id<MobileRTCAnnotationServiceDelegate> _Nullable delegate;
108
115- (BOOL)canDoAnnotation:(nullable UIView*)shareView;
116
122- (MobileRTCAnnotationError)startAnnotationWithSharedView:(nullable UIView*)shareView;
123
128- (BOOL)stopAnnotation;
129
134- (MobileRTCAnnotationError)setToolColor:(nullable UIColor *)toolColor;
135
140- (nullable UIColor *)getToolColor;
141
148
154
159- (MobileRTCAnnotationError)setToolWidth:(NSUInteger)width;
160
165- (NSUInteger)getToolWidth;
166
173
179
185
191- (BOOL)isPresenter;
192
198
204
209- (MobileRTCAnnotationError)disableViewerAnnotation:(BOOL)isDisable;
210
216
221- (NSString *_Nullable)getAnnotationLegalNoticesPrompt;
222
227- (NSString *_Nullable)getAnnotationLegalNoticesExplained;
228
229@end
MobileRTCAnnoClearType
Types of clearing annotations.
@ MobileRTCAnnoClearType_Others
@ MobileRTCAnnoClearType_My
@ MobileRTCAnnoClearType_All
MobileRTCAnnoTool
Type of annotation tools. For more information, please visit https://support.zoom....
@ MobileRTCAnnoTool_AutoEllipseSemiFill
@ MobileRTCAnnoTool_AutoDoubleArrow
@ MobileRTCAnnoTool_AutoArrow
@ MobileRTCAnnoTool_SpotLight
@ MobileRTCAnnoTool_AutoStampX
@ MobileRTCAnnoTool_AutoRectangle
@ MobileRTCAnnoTool_Picker
@ MobileRTCAnnoTool_ERASER
@ MobileRTCAnnoTool_HighLighter
@ MobileRTCAnnoTool_AutoEllipseFill
@ MobileRTCAnnoTool_AutoDiamond
@ MobileRTCAnnoTool_AutoRectangleFill
@ MobileRTCAnnoTool_AutoEllipse
@ MobileRTCAnnoTool_AutoStampArrow
@ MobileRTCAnnoTool_AutoStampHeart
@ MobileRTCAnnoTool_AutoArrow2
@ MobileRTCAnnoTool_AutoRectangleSemiFill
@ MobileRTCAnnoTool_AutoStampCheck
@ MobileRTCAnnoTool_AutoStampQm
@ MobileRTCAnnoTool_AutoStampStar
@ MobileRTCAnnoTool_AutoLine
@ MobileRTCAnnoTool_Arrow
MobileRTCAnnotationError
Enumeration of annotation-related operational error states.
The Zoom annotation service for managing annotation.
MobileRTCAnnoTool getToolType()
Get the annotation tool type.
BOOL stopAnnotation()
Set to stop annotations.
BOOL isAnnotationLegalNoticeAvailable()
Is annotation legal notice available.
NSString *_Nullable getAnnotationLegalNoticesPrompt()
Get annotation over share legal notices prompt.
BOOL isViewerAnnotationDisabled()
Check currently sender disabled the viewer's annotation or not.
BOOL canDisableViewerAnnotation()
Check if support to disable viewer's annotation item.
MobileRTCAnnotationError redo()
Redo the last annotation.
id< MobileRTCAnnotationServiceDelegate > _Nullable delegate
Callback of receiving meeting events.
BOOL isPresenter()
Check if the current user is the presenter.
NSUInteger getToolWidth()
Get the annotation tool width.
nullable UIColor * getToolColor()
This method is used to get current Anno Tool Color.
NSString *_Nullable getAnnotationLegalNoticesExplained()
Get annotation over share legal notices explained.
MobileRTCAnnotationError undo()
Undo the last annotation.