Video SDK for MacOS API Reference
Loading...
Searching...
No Matches
ZMVideoSDKSubSessionManager Class Reference

Manages subsession lifecycle and communication. More...

#include <ZMVideoSDKSubsessionHelper.h>

Inherits NSObject.

Instance Methods

(ZMVideoSDKErrors- startSubSession
 Start subsession.
 
(BOOL) - isSubSessionStarted
 Determine if the subsession has started.
 
(ZMVideoSDKErrors- stopSubSession
 Stop subsession.
 
(ZMVideoSDKErrors- broadcastMessage:
 Broadcast a message to all subsessions.
 

Detailed Description

Manages subsession lifecycle and communication.

Definition at line 84 of file ZMVideoSDKSubsessionHelper.h.

Method Documentation

◆ broadcastMessage:

- (ZMVideoSDKErrors) broadcastMessage: (NSString *) message

Broadcast a message to all subsessions.

Parameters
messageThe message to be broadcast.
Returns
If the function succeeds, the return value ZoomSDKError_Success. Otherwise, the function fails.
Note
'onBroadcastMessageFromMainSession' is the corresponding callback notification.

◆ isSubSessionStarted

- (BOOL) isSubSessionStarted

Determine if the subsession has started.

Returns
If the function succeeds, the return value ZoomSDKError_Success. Otherwise, the function fails.

◆ startSubSession

- (ZMVideoSDKErrors) startSubSession

Start subsession.

Returns
If the function succeeds, the return value ZoomSDKError_Success. Otherwise, the function fails.
Note
'onSubSessionStatusChanged' is the corresponding callback notification.

◆ stopSubSession

- (ZMVideoSDKErrors) stopSubSession

Stop subsession.

Returns
If the function succeeds, the return value ZoomSDKError_Success. Otherwise, the function fails.
Note
'onSubSessionStatusChanged' is the corresponding callback notification.