Package us.zoom.sdk
Interface ZoomVideoSDKShareHelper
public interface ZoomVideoSDKShareHelper
Share control interface.
-
Method Summary
Modifier and TypeMethodDescriptioncreate annotation helper base on shared view.int
destroy annotation helper.int
disableViewerAnnotation
(boolean disable) Disable or enable viewer’s annotation by the share owner.int
enableMultiShare
(boolean enable) Enable or disable participants can share simultaneously.int
enablePlaySharingAudioRawdata
(boolean bPlaying) Enable or disable local playback of shared audio raw data.int
enableShareDeviceAudio
(boolean enable) Enable or disable the device sound when sharing.boolean
Whether annotation feature is supported or not.boolean
Determine whether multi share is enabled or not.boolean
Determine whether other user is sharing.boolean
Determine whether the current user is sharing the screen.boolean
Determine if the SDK has enabled share device sound.boolean
Determine whether sharing the view or screen is locked.boolean
Determine whether the current user is sharing.boolean
Whether annotation on current sharing is disabled or not.int
lockShare
(boolean lock) Lock sharing the view or screen.int
Pause share.int
Resume share.int
Share the select camera.int
startShareScreen
(android.content.Intent data) Share a selected screen through Intent.int
startShareView
(android.view.View view) Share a selected view.int
startShareWithPreprocessing
(ZoomVideoSDKSharePreprocessParam param, IZoomVideoSDKSharePreprocessor preprocessor) Start share preprocessing.int
startSharingExternalSource
(ZoomVideoSDKShareSource source, ZoomVideoSDKShareAudioSource pAudioSource, boolean bPlaying) Share a external sourceint
Stop view or screen share.
-
Method Details
-
isSharingOut
boolean isSharingOut()Determine whether the current user is sharing.- Returns:
- true indicates the current user is sharing, otherwise false.
-
isScreenSharingOut
boolean isScreenSharingOut()Determine whether the current user is sharing the screen.- Returns:
- true indicates the current user is sharing the screen, otherwise false.
-
isOtherSharing
boolean isOtherSharing()Determine whether other user is sharing.- Returns:
- true indicates another user is sharing, otherwise false.
-
isAnnotationFeatureSupport
boolean isAnnotationFeatureSupport()Whether annotation feature is supported or not.- Returns:
- true means enable, otherwise false.
-
disableViewerAnnotation
int disableViewerAnnotation(boolean disable) Disable or enable viewer’s annotation by the share owner. Only the share owner can call this function.- Parameters:
disable
- true means disable, false means enable.- Returns:
- If the function succeeds, the return value is
ZoomVideoSDKErrors.Errors_Success
. Otherwise failed. To get extended error information, seeZoomVideoSDKErrors
.
-
isViewerAnnotationDisabled
boolean isViewerAnnotationDisabled()Whether annotation on current sharing is disabled or not.- Returns:
- true means disable, false means enable.
-
createAnnotationHelper
create annotation helper base on shared view. The view passed in this function should be subscribed share view. And if the share view aspect mode is full fill, the annotate not supported.When the share owner not support the feature of annotate, the others should not do annotate in that case.
- Parameters:
view
- shared view. Pass the nil will return the helper for self sharing.- Returns:
- an annotation controller.
-
destroyAnnotationHelper
destroy annotation helper.- Parameters:
helper
- the annotation helper.- Returns:
- If the function succeeds, the return value is
ZoomVideoSDKErrors.Errors_Success
. Otherwise failed. To get extended error information, seeZoomVideoSDKErrors
.
-
enablePlaySharingAudioRawdata
int enablePlaySharingAudioRawdata(boolean bPlaying) Enable or disable local playback of shared audio raw data.- Parameters:
bPlaying
- true to play shared audio raw data, false not to play it.- Returns:
- true means play shared audio raw data, false not.