Meeting SDK for iOS API Reference
Loading...
Searching...
No Matches
MobileRTCAICompanionSwitchHandler Class Reference

The handler to handle a user request to turn the AI Companion features on or off. More...

#include <MobileRTCMeetingService+AICompanion.h>

Inherits NSObject.

Instance Methods

(NSUInteger) - getRequestUserID
 Gets the user ID who requests the host to turn the AI Companion features on or off.
 
(BOOL) - isTurnOn
 Determines if the request is to turn the AI Companion features on or off.
 
(MobileRTCSDKError- agree:
 Agrees to the request to turn the AI Companion features on or off.
 
(MobileRTCSDKError- decline
 Declines the request to turn the AI Companion features on or off.
 

Detailed Description

The handler to handle a user request to turn the AI Companion features on or off.

Definition at line 43 of file MobileRTCMeetingService+AICompanion.h.

Method Documentation

◆ agree:

- (MobileRTCSDKError) agree: (BOOL) deleteAssets

Agrees to the request to turn the AI Companion features on or off.

Parameters
deleteAssetsYES to delete the meeting assets when turning off the AI Companion features. Otherwise, NO.
Returns
If the function succeeds, it returns MobileRTCSDKError_Success. Otherwise, this function returns an error.

◆ decline

- (MobileRTCSDKError) decline

Declines the request to turn the AI Companion features on or off.

Returns
If the function succeeds, it returns MobileRTCSDKError_Success. Otherwise, this function returns an error.

◆ getRequestUserID

- (NSUInteger) getRequestUserID

Gets the user ID who requests the host to turn the AI Companion features on or off.

Returns
The request user ID.

◆ isTurnOn

- (BOOL) isTurnOn

Determines if the request is to turn the AI Companion features on or off.

Returns
YES if turn on the AI Companion features. Otherwise, NO to turn off.