iOS SDK 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 Video Communications on 2018/6/12.
6// Copyright © 2019 Zoom Video Communications, Inc. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10
14typedef enum {
60
72@optional
73- (void)onAnnotationService:(nullable MobileRTCAnnotationService *)service supportStatusChanged:(BOOL)support;
74@end
75
76@interface MobileRTCAnnotationService : NSObject
77
81@property (nullable, assign, nonatomic) id<MobileRTCAnnotationServiceDelegate> delegate;
82
88- (MobileRTCAnnotationError)startAnnotationWithSharedView:(nullable UIView*)view;
89
94- (BOOL)stopAnnotation;
95
100- (MobileRTCAnnotationError)setToolColor:(nullable UIColor *)toolColor;
101
106- (nullable UIColor *)getToolColor:(MobileRTCAnnoTool)tooltype;
107
114
119- (MobileRTCAnnotationError)setToolWidth:(NSUInteger)width;
120
127
134
141
147- (nullable NSArray *)getSupportedToolType DEPRECATED_ATTRIBUTE;
148
153- (BOOL)isPresenter;
154
160
166
171- (MobileRTCAnnotationError)disableViewerAnnoataion:(BOOL)isDisable;
172
177- (BOOL)canDoAnnotation;
178
184
189- (NSString *_Nullable)getAnnotationLegalNoticesPrompt;
190
195- (NSString *_Nullable)getAnnotationLegalNoticesExplained;
196
197@end
MobileRTCAnnoTool
An enumeration of annotation tool types in meeting.
@ MobileRTCAnnoTool_Eraser
@ MobileRTCAnnoTool_Highligher
@ MobileRTCAnnoTool_Rectangle
@ MobileRTCAnnoTool_Whiteboard
@ MobileRTCAnnoTool_Line
@ MobileRTCAnnoTool_Pen
@ MobileRTCAnnoTool_Text
@ MobileRTCAnnoTool_Spotlight
@ MobileRTCAnnoTool_Ellipse
@ MobileRTCAnnoTool_Arrow2
@ MobileRTCAnnoTool_Arrow
MobileRTCAnnotationError
MobileRTCAnnotationError An enumeration of annotation-related operational error states.
the share sender will disable the annotation, this delegate will notify the status change to viewer #...
nullable NSArray * getSupportedToolType()
Get the supported tool types.
BOOL stopAnnotation()
Set to stop annotations.
BOOL isAnnotationLegalNoticeAvailable()
Is annotation legal notice available.
NSString *_Nullable getAnnotationLegalNoticesPrompt()
Get annotation over share legal notices prompt.
MobileRTCAnnotationError clear()
Set to clear the annotations.
BOOL canDisableViewerAnnoataion()
Check if support to disable viewer's annotation item.
MobileRTCAnnotationError redo()
Redo the last annotation.
id< MobileRTCAnnotationServiceDelegate > delegate
Callback of receiving meeting events.
BOOL isPresenter()
Check if the current user is the presenter.
NSString *_Nullable getAnnotationLegalNoticesExplained()
Get annotation over share legal notices explained.
BOOL canDoAnnotation()
Check can do annotation or not.
BOOL isViewerAnnoataionDisabled()
Check currently sender disabled the viewer's annotation or not.
MobileRTCAnnotationError undo()
Undo the last annotation.