|
Video SDK for iOS API Reference
|
Share control interface. More...
#include <ZoomVideoSDKShareHelper.h>
Inherits NSObject.
Instance Methods | |
| (ZoomVideoSDKError) | - startShareWithView: |
| Shares a selected view. | |
| (ZoomVideoSDKError) | - startSharingExternalSource:andAudioSource: |
| Shares an external source. | |
| (ZoomVideoSDKError) | - startSharingExternalSource:andAudioSource:isPlaying: |
| Shares an external source. | |
| (ZoomVideoSDKError) | - enablePlaySharingAudioRawdata: |
| Enables or disables local playback of shared audio raw data. | |
| (ZoomVideoSDKError) | - stopShare |
| Stops view or screen share. | |
| (ZoomVideoSDKError) | - pauseShare |
| Pauses share. For camera share, the presenter can pause the share to support annotation. | |
| (ZoomVideoSDKError) | - resumeShare |
| Resumes share. For camera share, the presenter can restart the camera share. | |
| (ZoomVideoSDKError) | - lockShare: |
| Locks sharing the view or screen. Only the host can call this method. | |
| (BOOL) | - isShareLocked |
| Determines whether sharing the view or screen is locked. | |
| (BOOL) | - isSharingOut |
| Determines whether the current user is sharing. | |
| (BOOL) | - isOtherSharing |
| Determines whether another user is sharing. | |
| (BOOL) | - isScreenSharingOut |
| Determines whether the current user is sharing the screen. | |
| (BOOL) | - isShareDeviceAudioEnabled |
| Determines whether the SDK has enabled share device audio when screen sharing. | |
| (BOOL) | - enableShareDeviceAudio: |
| Enables or disables the device audio shared together when screen sharing. | |
| (BOOL) | - isAnnotationFeatureSupport |
| Determines whether annotation feature is supported. | |
| (ZoomVideoSDKError) | - disableViewerAnnotation: |
| Disables or enables viewer's annotation by the share owner. | |
| (BOOL) | - isViewerAnnotationDisabled |
| Determines whether annotation on current sharing is disabled. | |
| (ZoomVideoSDKAnnotationHelper *_Nullable) | - createAnnotationHelper: |
| Creates annotation helper based on shared view. | |
| (ZoomVideoSDKError) | - destroyAnnotationHelper: |
| Destroys annotation helper. | |
| (ZoomVideoSDKError) | - setAnnotationVanishingToolTime:vanishingTime: |
| Sets the vanishing tool time config. | |
| (NSUInteger) | - getAnnotationVanishingToolDisplayTime |
| Gets the current vanishing tool display time. | |
| (NSUInteger) | - getAnnotationVanishingToolVanishingTime |
| Gets the current vanishing tool vanishing time. | |
| (ZoomVideoSDKError) | - enableMultiShare: |
| Enables or disables participants can share simultaneously. | |
| (BOOL) | - isMultiShareEnabled |
| Determines whether multi share is enabled. | |
| (ZoomVideoSDKError) | - startShareCamera: |
| Shares the selected camera. Query the selected camera using ZoomVideoSDKVideoHelper::getCameraDeviceList. | |
| (ZoomVideoSDKError) | - startShareWithPreprocessing:sharePreprocessor: |
| Starts share preprocessing. | |
| (ZoomVideoSDKError) | - applyPreprocessingOverlayImage: |
| Applies 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 |
| Removes the currently applied UIImage overlay from the shared image stream when using (when you share with startShareWithPreprocessing:sharePreprocessor: or startInAppScreenShare). | |
| (BOOL) | - isSupportInAppScreenShare |
| Checks whether the system supports in-app screen share. | |
| (ZoomVideoSDKError) | - startInAppScreenShare |
| Starts in-app screen share. | |
| (ZoomVideoSDKError) | - setAnnotationView: |
| Sets the annotation view when the view hierarchy changes. | |
Share control interface.
Definition at line 111 of file ZoomVideoSDKShareHelper.h.
| - (ZoomVideoSDKError) applyPreprocessingOverlayImage: | (UIImage *_Nullable) | image |
Applies 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 covered the current share frame before it is sent to viewers. |
| - (ZoomVideoSDKAnnotationHelper *_Nullable) createAnnotationHelper: | (UIView *_Nullable) | view |
Creates annotation helper based on shared view.
| view | The shared view. Pass nil to return the helper for self sharing. |
| - (ZoomVideoSDKError) destroyAnnotationHelper: | (ZoomVideoSDKAnnotationHelper *_Nullable) | helper |
Destroys annotation helper.
| helper | The ZoomVideoSDKAnnotationHelper. |
| - (ZoomVideoSDKError) disableViewerAnnotation: | (BOOL) | disable |
Disables or enables viewer's annotation by the share owner.
| disable | YES to disable annotation, NO to enable. |
| - (ZoomVideoSDKError) enableMultiShare: | (BOOL) | enable |
Enables or disables participants can share simultaneously.
| enable | YES to enable, NO to disable. |
| - (ZoomVideoSDKError) enablePlaySharingAudioRawdata: | (BOOL) | bPlay |
Enables or disables local playback of shared audio raw data.
| bPlay | YES to play shared audio raw data, NO not to play. |
| - (BOOL) enableShareDeviceAudio: | (BOOL) | enable |
Enables or disables the device audio shared together when screen sharing.
| enable | YES to share audio out, NO otherwise. |
| - (NSUInteger) getAnnotationVanishingToolDisplayTime |
Gets the current vanishing tool display time.
| - (NSUInteger) getAnnotationVanishingToolVanishingTime |
Gets the current vanishing tool vanishing time.
| - (BOOL) isAnnotationFeatureSupport |
Determines whether annotation feature is supported.
| - (BOOL) isMultiShareEnabled |
Determines whether multi share is enabled.
| - (BOOL) isOtherSharing |
Determines whether another user is sharing.
| - (BOOL) isScreenSharingOut |
Determines whether the current user is sharing the screen.
| - (BOOL) isShareDeviceAudioEnabled |
Determines whether the SDK has enabled share device audio when screen sharing.
| - (BOOL) isShareLocked |
Determines whether sharing the view or screen is locked.
| - (BOOL) isSharingOut |
Determines whether the current user is sharing.
| - (BOOL) isSupportInAppScreenShare |
Checks whether the system supports in-app screen share.
| - (BOOL) isViewerAnnotationDisabled |
Determines whether annotation on current sharing is disabled.
| - (ZoomVideoSDKError) lockShare: | (BOOL) | lock |
Locks sharing the view or screen. Only the host can call this method.
| lock | YES to lock sharing, NO to unlock. |
| - (ZoomVideoSDKError) pauseShare |
Pauses share. For camera share, the presenter can pause the share to support annotation.
| - (void) removePreprocessingOverlayImage |
Removes the currently applied UIImage overlay from the shared image stream when using (when you share with startShareWithPreprocessing:sharePreprocessor: or startInAppScreenShare).
| - (ZoomVideoSDKError) resumeShare |
Resumes share. For camera share, the presenter can restart the camera share.
| - (ZoomVideoSDKError) setAnnotationVanishingToolTime: | (NSUInteger) | displayTime | |
| vanishingTime: | (NSUInteger) | vanishingTime |
Sets the vanishing tool time config.
| displayTime | The time in milliseconds the tool remains visible before fading. |
| vanishingTime | The time in milliseconds for the tool to fade out after displayTime. |
| - (ZoomVideoSDKError) setAnnotationView: | (UIView *_Nullable) | annoParentView |
Sets the annotation view when the view hierarchy changes.
| annoParentView | The top-level view for the shared content. |
| - (ZoomVideoSDKError) startInAppScreenShare |
Starts in-app screen share.
| - (ZoomVideoSDKError) startShareCamera: | (UIView *_Nullable) | parentView |
Shares the selected camera. Query the selected 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 |
Starts share preprocessing.
| param | The share preprocessing parameters. |
| preProcessDelegate | The object that handles preprocessing events. |
| - (ZoomVideoSDKError) startShareWithView: | (UIView *_Nullable) | view |
Shares a selected view.
| view | The view to be shared. |
| - (ZoomVideoSDKError) startSharingExternalSource: | (id< ZoomVideoSDKShareSource > _Nullable) | shareDelegate | |
| andAudioSource: | (id< ZoomVideoSDKShareAudioSource > _Nullable) | audioDelegate |
Shares an external source.
| shareDelegate | The external share source. |
| audioDelegate | The external share audio source. |
| - (ZoomVideoSDKError) startSharingExternalSource: | (id< ZoomVideoSDKShareSource > _Nullable) | shareDelegate | |
| andAudioSource: | (id< ZoomVideoSDKShareAudioSource > _Nullable) | audioDelegate | |
| isPlaying: | (BOOL) | isPlaying |
Shares an external source.
| shareDelegate | The external share source. |
| audioDelegate | The external share audio source. |
| isPlaying | YES to play shared audio raw data, NO not to play. |
| - (ZoomVideoSDKError) stopShare |
Stops view or screen share.