'How to assign User to Breakout session with the zoom-andoid-sdk?
I want to automatically assign users to breakout-rooms during a meeting (not beforehand, not with CSV-import).
When I use the android-sdk demo app and add a listener, then the IBOAdmin is always null.
ZoomSDKInitializeListener listener = new ZoomSDKInitializeListener() {
@Override
public void onZoomSDKInitializeResult(int errorCode, int internalErrorCode) {
sdk.getInMeetingService().addListener(new InMeetingServiceAdapter() {
@Override
public void onChatMessageReceived(InMeetingChatMessage inMeetingChatMessage) {
IBOAdmin bOAdmin = sdk.getInMeetingService().getInMeetingBOController().getBOAdminHelper();
// not working, bOAdmin is always null
bOAdmin.assignNewUserToRunningBO("" + inMeetingChatMessage.getSenderUserId(), "Raum 1");
}
});
}
...
};
sdk.initialize(context, listener, params);
The exceptions says:
Attempt to invoke interface method 'boolean us.zoom.sdk.IBOAdmin.startBO()' on a null object reference
I tried to:
- Start the zoom conference from within the app (as
host) - Join an existing zoom conference and being assigned as
host - Join an existing zoom conference and being assigned as
co-host - Join an existing zoom conference with enabled breakout-session and being assigned as
co-host
How can I assign other users to breakout-sessions with the Zoom Android SDK?
Solution 1:[1]
Solution:
- Add the required app scopes
- Make sure, that the current user is allowed to manage breakout-session (is host or co-host)
To add the scopes:
- Go to zoom's marketplace development site
- At the dropdown on the top right choose "develop/build app"
- At "SDK" choose "view here"
- Go to the tab "Scopes"
- Click on "+ Add scopes"
- Choose the corresponding scopes (I just added all of them - just to be sure)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | slartidan |
