public interface InMeetingShareController
| Modifier and Type | Interface and Description |
|---|---|
static interface |
InMeetingShareController.InMeetingShareListener
Callback event of meeting sharing.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(InMeetingShareController.InMeetingShareListener listener)
Register a listener for meeting shared callback event.
|
boolean |
isOtherSharing()
Query if other user is sharing.
|
boolean |
isSenderSupportAnnotation(long nShareSourceUserID)
Query if the annotation is enabled in current sharing.
|
boolean |
isShareLocked()
Query if screen share is locked by host.
|
boolean |
isSharingOut()
Query if the current user is sharing successfully.
|
boolean |
isSharingScreen()
Query if the current user is sharing screen.
|
MobileRTCSDKError |
lockShare(boolean isLock)
The host/co-host can use this function to lock current meeting share.
|
void |
removeListener(InMeetingShareController.InMeetingShareListener listener)
Unregister the listener.
|
MobileRTCSDKError |
startShareScreenContent()
Start sharing screen.
|
MobileRTCSDKError |
startShareScreenSession(android.content.Intent data)
Start sharing screen.
|
MobileRTCSDKError |
startShareViewContent(MobileRTCShareView shareView)
Sharing the content saved in MobileRTCShareView.
|
MobileRTCSDKError |
startShareViewSession()
Start sharing the content saved in MobileRTCShareView.
|
MobileRTCSDKError |
stopShareScreen()
Stop sharing screen.
|
MobileRTCSDKError |
stopShareView()
Stop sharing the content in MobileRTCShareView.
|
void addListener(InMeetingShareController.InMeetingShareListener listener)
listener - The listener instance.void removeListener(InMeetingShareController.InMeetingShareListener listener)
listener - The listener instanceMobileRTCSDKError startShareScreenSession(android.content.Intent data)
data - The intent data for retrieving the MediaProjection obtained from a successful screen capture request. See:https://developer.android.com/reference/android/media/projection/MediaProjectionManager.htmlMobileRTCSDKError.MobileRTCSDKError startShareScreenContent()
MobileRTCSDKError.MobileRTCSDKError stopShareScreen()
MobileRTCSDKError.MobileRTCSDKError startShareViewSession()
MobileRTCSDKError.MobileRTCSDKError startShareViewContent(MobileRTCShareView shareView)
shareView - The content of MobileRTCShareView.MobileRTCSDKError.MobileRTCSDKError stopShareView()
MobileRTCSDKError.boolean isShareLocked()
MobileRTCSDKError lockShare(boolean isLock)
isLock - TRUE means to lock the meeting share, FALSE not.MobileRTCSDKError.
*Note* Once the meeting is locked by the host/co-host, other user can not share except the host/co-host.boolean isSharingOut()
boolean isSharingScreen()
boolean isOtherSharing()
boolean isSenderSupportAnnotation(long nShareSourceUserID)
nShareSourceUserID - The ID of user who is sharing.