commitSubSessionList method

  1. @override
Future<String> commitSubSessionList(
  1. List<String> subSessionNames
)

Commit the sub-session list to create or update sub-sessions.
subSessionNames A list of sub-session names to create
Note: Only the session host/manager can commit sub-session lists.
Return ZoomVideoSDKError_Success if the function succeeds. Otherwise, this function returns an error.

Implementation

@override
Future<String> commitSubSessionList(List<String> subSessionNames) async {
  return await methodChannel
      .invokeMethod<String>('commitSubSessionList', subSessionNames)
      .then<String>((String? value) => value ?? "");
}