Video SDK for iOS API Reference
All Classes Files Functions Enumerations Enumerator Properties
ZoomVideoSDKShareHelper.h
Go to the documentation of this file.
1//
2// ZoomVideoSDKShareHelper.h
3// ZoomVideoSDK
4//
5// Created by Zoom Video Communications on 2018/12/13.
6// Copyright © Zoom Video Communications, Inc. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10#import <ZoomVideoSDK/ZoomVideoSDKAnnotationHelper.h>
12
13@protocol ZoomVideoSDKShareSource;
14@protocol ZoomVideoSDKShareAudioSource;
19@interface ZoomVideoSDKShareStatus : NSObject
23@property (nonatomic, assign) ZoomVideoSDKReceiveSharingStatus sharingStatus;
24
25@end
26
29
30@interface ZoomVideoSDKShareAction : NSObject
35- (NSInteger)getShareSourceId;
40- (ZoomVideoSDKVideoCanvas *_Nullable)getShareCanvas;
45- (ZoomVideoSDKReceiveSharingStatus )getShareStatus;
50- (ZoomVideoSDKRawDataPipe *_Nullable)getSharePipe;
55- (ZoomVideoSDKSubscribeFailReason)getSubscribeFailReason;
60- (BOOL)isAnnotationPrivilegeEnabled;
65- (ZoomVideoSDKShareType)getShareType;
70- (CGSize)getShareSourceContentSize;
71
72@end
73
74
79@interface ZoomVideoSDKShareHelper : NSObject
80
88- (ZoomVideoSDKError)startShareWithView:(UIView * _Nullable)view;
89
97- (ZoomVideoSDKError)startSharingExternalSource:(id<ZoomVideoSDKShareSource> _Nullable)shareDelegate andAudioSource:(id <ZoomVideoSDKShareAudioSource> _Nullable)audioDelegate DEPRECATED_MSG_ATTRIBUTE("use startSharingExternalSource:andAudioSource:isPlaying: instead");
98
107- (ZoomVideoSDKError)startSharingExternalSource:(id<ZoomVideoSDKShareSource> _Nullable)shareDelegate andAudioSource:(id <ZoomVideoSDKShareAudioSource> _Nullable)audioDelegate isPlaying:(BOOL)isPlaying;
108
114- (ZoomVideoSDKError)enablePlaySharingAudioRawdata:(BOOL)bPlay;
115
120- (ZoomVideoSDKError)stopShare;
121
126- (ZoomVideoSDKError)pauseShare;
127
132- (ZoomVideoSDKError)resumeShare;
133
140- (ZoomVideoSDKError)lockShare:(BOOL)lock;
141
146- (BOOL)isShareLocked;
147
152- (BOOL)isSharingOut;
153
158- (BOOL)isOtherSharing;
159
164- (BOOL)isScreenSharingOut;
165
170- (BOOL)isShareDeviceAudioEnabled;
171
177- (BOOL)enableShareDeviceAudio:(BOOL)enable;
178
183- (BOOL)isAnnotationFeatureSupport;
184
191- (ZoomVideoSDKError)disableViewerAnnotation:(BOOL)disable;
192
198- (BOOL)isViewerAnnotationDisabled;
199
206- (ZoomVideoSDKAnnotationHelper * _Nullable)createAnnotationHelper:(UIView * _Nullable)view;
207
213- (ZoomVideoSDKError)destroyAnnotationHelper:(ZoomVideoSDKAnnotationHelper * _Nullable)helper;
214
221- (ZoomVideoSDKError)enableMultiShare:(BOOL)enable;
222
227- (BOOL)isMultiShareEnabled;
228
229#pragma mark - share camera and anno -
241- (ZoomVideoSDKError)startShareCamera:(UIView *_Nullable)parentView;
242
243@end
ZoomVideoSDKSubscribeFailReason
Enumerations for the video subscribe failed reason.
ZoomVideoSDKReceiveSharingStatus
You can get share status in the user object [ZoomVideoSDKUser].
ZoomVideoSDKShareType
ZoomVideoSDKError
ZoomVideoSDKError An enumeration of error.
A Class to manage the subscription and unsubscription of video or share raw data.
Share control interface.
ZoomVideoSDKReceiveSharingStatus sharingStatus
The user's share status.
The video canvas is the display area of the video streams on the user’s local device....