Video SDK for iOS API Reference
Loading...
Searching...
No Matches
ZoomVideoSDKSubSessionManager Class Reference

Manages subsession lifecycle and communication. More...

#include <ZoomVideoSDKSubSessionHelper.h>

Inherits NSObject.

Instance Methods

(ZoomVideoSDKError- startSubSession
 Starts subsession.
 
(ZoomVideoSDKError- stopSubSession
 Stops subsession.
 
(BOOL) - isSubSessionStarted
 Determines whether the subsession is started.
 
(ZoomVideoSDKError- broadcastMessage:
 Broadcasts a message to subsession.
 

Detailed Description

Manages subsession lifecycle and communication.

Definition at line 90 of file ZoomVideoSDKSubSessionHelper.h.

Method Documentation

◆ broadcastMessage:

- (ZoomVideoSDKError) broadcastMessage: (NSString *_Nonnull) message

Broadcasts a message to subsession.

Parameters
messageThe message to be broadcast.
Returns
If the function succeeds, it returns Errors_Success. Otherwise, this function returns an error.
Warning
'onBroadcastMessageFromMainSession' is the corresponding callback notification.

◆ isSubSessionStarted

- (BOOL) isSubSessionStarted

Determines whether the subsession is started.

Returns
YES if the subsession is started. Otherwise, NO.

◆ startSubSession

- (ZoomVideoSDKError) startSubSession

Starts subsession.

Returns
If the function succeeds, it returns Errors_Success. Otherwise, this function returns an error.
Note
'onSubSessionStatusChanged' is the corresponding callback notification.

◆ stopSubSession

- (ZoomVideoSDKError) stopSubSession

Stops subsession.

Returns
If the function succeeds, it returns Errors_Success. Otherwise, this function returns an error.
Note
'onSubSessionStatusChanged' is the corresponding callback notification.