Package us.zoom.sdk
Interface IShareAction
public interface IShareAction
-
Method Summary
Modifier and TypeMethodDescriptionlong
Get the ID of the sharing ID.Get the name of the sharing user.setEvent
(IShareActionEvent event) Set the share action callback event handler.subscribe
(MobileRTCVideoView rtcVideoView, MobileRTCRenderInfo renderInfo) Subscribe the sharing content.unSubscribe
(MobileRTCVideoView rtcVideoView) Unsubscribe the sharing content.
-
Method Details
-
getSharingID
long getSharingID()Get the ID of the sharing ID.- Returns:
- If the function succeeds, the return value is the sharing ID. Otherwise the function fails ,and the return value is ZERO (0).
-
getSharingUserName
String getSharingUserName()Get the name of the sharing user.- Returns:
- If the function succeeds, the return value is the name. Otherwise the function failed, and the return value is null.
-
subscribe
Subscribe the sharing content.- Parameters:
rtcVideoView
-MobileRTCVideoView
renderInfo
-MobileRTCRenderInfo
- Returns:
- If the function succeeds, the return value is
MobileRTCSDKError.SDKERR_SUCCESS
. Otherwise the function failed. To get extended error information, seeMobileRTCSDKError
.
-
unSubscribe
Unsubscribe the sharing content.- Parameters:
rtcVideoView
-MobileRTCVideoView
- Returns:
- If the function succeeds, the return value is
MobileRTCSDKError.SDKERR_SUCCESS
. Otherwise the function failed. To get extended error information, seeMobileRTCSDKError
.