Video SDK for iOS API Reference
|
Share control interface. More...
#include <ZoomVideoSDKShareHelper.h>
Inherits NSObject.
Instance Methods | |
(ZoomVideoSDKError) | - startShareWithView: |
Share a selected view. | |
(ZoomVideoSDKError) | - startSharingExternalSource:andAudioSource: |
Share an external source. | |
(ZoomVideoSDKError) | - startSharingExternalSource:andAudioSource:isPlaying: |
Share an external source. | |
(ZoomVideoSDKError) | - enablePlaySharingAudioRawdata: |
Enable or disable local playback of shared audio raw data. | |
(ZoomVideoSDKError) | - stopShare |
Stop view or screen share. | |
(ZoomVideoSDKError) | - pauseShare |
Pause share. For camera share, the presenter can pause the share to support annotation. | |
(ZoomVideoSDKError) | - resumeShare |
Resume share. For camera share, the presenter can restart the camera share. | |
(ZoomVideoSDKError) | - lockShare: |
Lock sharing the view or screen. Only the host can call this method. | |
(BOOL) | - isShareLocked |
Determine whether sharing the view or screen is locked. | |
(BOOL) | - isSharingOut |
Determine whether the current user is sharing. | |
(BOOL) | - isOtherSharing |
Determine whether other user is sharing. | |
(BOOL) | - isScreenSharingOut |
Determine whether the current user is sharing the screen. | |
(BOOL) | - isShareDeviceAudioEnabled |
Determine if the SDK has enabled share device audio when screen sharing. | |
(BOOL) | - enableShareDeviceAudio: |
Enable or disable the device audio shared together when screen sharing. | |
(BOOL) | - isAnnotationFeatureSupport |
Whether annotation feature is supported or not. | |
(ZoomVideoSDKError) | - disableViewerAnnotation: |
Disable or enable viewer’s annotation by the share owner. | |
(BOOL) | - isViewerAnnotationDisabled |
Whether annotation on current sharing is disabled or not. | |
(ZoomVideoSDKAnnotationHelper *_Nullable) | - createAnnotationHelper: |
Creates annotation helper based on shared view. | |
(ZoomVideoSDKError) | - destroyAnnotationHelper: |
Destroys annotation helper. | |
(ZoomVideoSDKError) | - enableMultiShare: |
Enable or disable participants can share simultaneously. | |
(BOOL) | - isMultiShareEnabled |
Determine whether multi share is enabled or not. | |
(ZoomVideoSDKError) | - startShareCamera: |
Share the select camera. Query the select camera using ZoomVideoSDKVideoHelper::getCameraDeviceList. | |
(ZoomVideoSDKError) | - startShareWithPreprocessing:sharePreprocessor: |
Start share preprocessing. | |
(ZoomVideoSDKError) | - applyPreprocessingOverlayImage: |
Apply a UIImage overlay to the shared image stream when using (when you share with startShareWithPreprocessing:sharePreprocessor: or startInAppScreenShare ). Use this method to cover the shared content with an image during preprocessing. | |
(void) | - removePreprocessingOverlayImage |
Remove the currently applied UIImage overlay from the shared image stream when using (when you share with startShareWithPreprocessing:sharePreprocessor: or startInAppScreenShare ). | |
(BOOL) | - isSupportInAppScreenShare |
Check that the system supports in-app screen share or not. | |
(ZoomVideoSDKError) | - startInAppScreenShare |
Start in-app screen share. | |
Share control interface.
Definition at line 111 of file ZoomVideoSDKShareHelper.h.
- (ZoomVideoSDKError) applyPreprocessingOverlayImage: | (UIImage *_Nullable) | image |
Apply a UIImage overlay to the shared image stream when using (when you share with startShareWithPreprocessing:sharePreprocessor:
or startInAppScreenShare
). Use this method to cover the shared content with an image during preprocessing.
image | The UIImage to overlay on top of the shared image. The UIImage is fully coverd the current share frame before it is sent to viewers. |
ZoomVideoSDKError
. - (ZoomVideoSDKAnnotationHelper *_Nullable) createAnnotationHelper: | (UIView *_Nullable) | view |
Creates annotation helper based on shared view.
view | the shared view. Pass the nil will return the helper for self sharing. |
- (ZoomVideoSDKError) destroyAnnotationHelper: | (ZoomVideoSDKAnnotationHelper *_Nullable) | helper |
- (ZoomVideoSDKError) disableViewerAnnotation: | (BOOL) | disable |
Disable or enable viewer’s annotation by the share owner.
disable | YES means annotation is disabled, NO means it is enabled. |
- (ZoomVideoSDKError) enableMultiShare: | (BOOL) | enable |
Enable or disable participants can share simultaneously.
enable | True to enable. False to disable. |
- (ZoomVideoSDKError) enablePlaySharingAudioRawdata: | (BOOL) | bPlay |
Enable or disable local playback of shared audio raw data.
bPlay | YES to play shared audio raw data, NO not to play it. |
- (BOOL) enableShareDeviceAudio: | (BOOL) | enable |
Enable or disable the device audio shared together when screen sharing.
enable | share audio out or not. |
- (BOOL) isAnnotationFeatureSupport |
Whether annotation feature is supported or not.
- (BOOL) isMultiShareEnabled |
Determine whether multi share is enabled or not.
- (BOOL) isOtherSharing |
Determine whether other user is sharing.
- (BOOL) isScreenSharingOut |
Determine whether the current user is sharing the screen.
- (BOOL) isShareDeviceAudioEnabled |
Determine if the SDK has enabled share device audio when screen sharing.
- (BOOL) isShareLocked |
Determine whether sharing the view or screen is locked.
- (BOOL) isSharingOut |
Determine whether the current user is sharing.
- (BOOL) isSupportInAppScreenShare |
Check that the system supports in-app screen share or not.
RPScreenRecorder
. - (BOOL) isViewerAnnotationDisabled |
Whether annotation on current sharing is disabled or not.
- (ZoomVideoSDKError) lockShare: | (BOOL) | lock |
Lock sharing the view or screen. Only the host can call this method.
lock | YES to lock sharing. |
- (ZoomVideoSDKError) pauseShare |
Pause share. For camera share, the presenter can pause the share to support annotation.
- (void) removePreprocessingOverlayImage |
Remove the currently applied UIImage overlay from the shared image stream when using (when you share with startShareWithPreprocessing:sharePreprocessor:
or startInAppScreenShare
).
- (ZoomVideoSDKError) resumeShare |
Resume share. For camera share, the presenter can restart the camera share.
- (ZoomVideoSDKError) startInAppScreenShare |
Start in-app screen share.
ZoomVideoSDKError
. - (ZoomVideoSDKError) startShareCamera: | (visionos) | API_UNAVAILABLE |
Share the select camera. Query the select camera using ZoomVideoSDKVideoHelper::getCameraDeviceList.
parentView | the share view to show the camera for the presenter. |
- (ZoomVideoSDKError) startShareWithPreprocessing: | (ZoomVideoSDKSharePreprocessParam *_Nullable) | param | |
sharePreprocessor: | (id< ZoomVideoSDKSharePreprocessor > _Nullable) | preProcessDelegate |
Start share preprocessing.
param | The share preprocessing parameters. |
preProcessDelegate | Object that handles preprocessing events. |
- (ZoomVideoSDKError) startShareWithView: | (UIView *_Nullable) | view |
Share a selected view.
view | The view to be shared. |
- (ZoomVideoSDKError) startSharingExternalSource: | (id< ZoomVideoSDKShareSource > _Nullable) | shareDelegate | |
andAudioSource: | (id< ZoomVideoSDKShareAudioSource > _Nullable) | audioDelegate |
Share an external source.
shareDelegate | External share source. |
audioDelegate | External share audio source. |
- (ZoomVideoSDKError) startSharingExternalSource: | (id< ZoomVideoSDKShareSource > _Nullable) | shareDelegate | |
andAudioSource: | (id< ZoomVideoSDKShareAudioSource > _Nullable) | audioDelegate | |
isPlaying: | (BOOL) | isPlaying |
Share an external source.
shareDelegate | External share source. |
audioDelegate | External share audio source. |
isPlaying | YES to play shared audio raw data, false not to play. |
- (ZoomVideoSDKError) stopShare |
Stop view or screen share.