IMP(低代码音视频工厂)SDK v1.5.0
IMP SDK API Reference Manual for iOS Platforms
AIRBWhiteBoardProtocol.h
1//
2// AIRBWhiteBoardProtocol.h
3// AliInteractiveRoomBundle
4//
5// Created by fernando on 2021/6/22.
6// Copyright © 2021 AliYun. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10#import <AliInteractiveRoomBundle/AIRBCommonDefines.h>
11
12NS_ASSUME_NONNULL_BEGIN
13
16
17@protocol AIRBWhiteBoardDelegate <NSObject>
18- (void) onAIRBWhiteBoardErrorWithCode:(AIRBErrorCode)code message:(NSString*)msg;
19- (void) onAIRBWhiteBoardEvent:(AIRBWhiteBoardEvent)event info:(NSDictionary*)info;
20@end
21
22@protocol AIRBWhiteBoardProtocol <NSObject>
23@property (strong, nonatomic) UIView* whiteboardView;
24@property (weak, nonatomic) id<AIRBWhiteBoardDelegate> delegate;
25
26- (void) openWithConfig:(AIRBWhiteBoardConfig*)config;
27
28- (void) startRecordingOnSuccess:(void(^)(NSString* recordID))onSuccess onFailure:(void(^)(NSString* error))onFailure;
29- (void) pauseRecordingOnSuccess:(void(^)(void))onSuccess onFailure:(void(^)(NSString* error))onFailure;
30- (void) resumeRecordingOnSuccess:(void(^)(void))onSuccess onFailure:(void(^)(NSString* error))onFailure;
31- (void) stopRecordingOnSuccess:(void(^)(void))onSuccess onFailure:(void(^)(NSString* error))onFailure;
32
33- (void) startReplay;
34- (void) pauseReplay;
35- (void) resumeReplay;
36- (void) seek:(int64_t)timestamp;
37- (void) updateContentWidth:(CGFloat)width contentHeight:(CGFloat)height;
38- (void) addPagesWithDocumentID:(NSString*)documentID backgroundImages:(NSArray<NSString*>*)backgroundImageUrlArray;
39- (void) addPagesWithBackgroundImages:(NSArray<NSString*>*) backgroundImageUrlArray;
40- (void) destroy;
41@end
42
43NS_ASSUME_NONNULL_END
Definition: AIRBWhiteBoardConfig.h:16
Definition: AIRBWhiteBoardToken.h:14
Definition: AIRBWhiteBoardProtocol.h:17
Definition: AIRBWhiteBoardProtocol.h:22