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
 The user ID who requests the host to turn the AI Companion features on or off.
 
(BOOL) - isTurnOn
 Turn the AI Companion features on or off.
 
(MobileRTCSDKError- agree:
 Agree to the request to turn. the AI Companion features on or off.
 
(MobileRTCSDKError- decline
 Decline 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 46 of file MobileRTCMeetingService+AICompanion.h.

Method Documentation

◆ agree:

- (MobileRTCSDKError) agree: (BOOL) deleteAssets

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

Parameters
deleteAssetstrue means delete the meeting asserts when turning off the AI Companion features.
Returns
If the function succeeds, the return value is SDKErr_Success. Otherwise the function fails.

◆ decline

- (MobileRTCSDKError) decline

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

Returns
If the function succeeds, the return value is SDKErr_Success. the function fails.

◆ getRequestUserID

- (NSUInteger) getRequestUserID

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

Returns
The request user ID.

◆ isTurnOn

- (BOOL) isTurnOn

Turn the AI Companion features on or off.

Returns
YES means turn on the AI Companion features.false means turn off the AI Companion features.