Meeting SDK for Linux API Reference
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
meeting_ai_companion_interface.h
Go to the documentation of this file.
1
5#ifndef _MEETING_AI_COMPANION_INTERFACE_H_
6#define _MEETING_AI_COMPANION_INTERFACE_H_
7#include "zoom_sdk_def.h"
8
10
17
27
42
47{
52 MeetingAICompanionQuerySettingOptions_ParticipantsAndInviteesInOurOrganization, //All participants in our organization can ask questions, and answers include everything from the meeting's start until now.
53 MeetingAICompanionQuerySettingOptions_WhenParticipantsAndOrganizationJoin //All participants in our organization can ask questions, and answers only includes the meeting content after current user's join time until now.
54};
55
60{
61public:
63
68
71 virtual bool IsForRequest() = 0;
72};
73
78{
79public:
81
86
89 virtual bool IsForRequest() = 0;
90};
91
105
110{
111public:
113
116 virtual const zchar_t* GetTipTitle() = 0;
117
120 virtual const zchar_t* GetTipString() = 0;
121
125 virtual SDKError Confirm() = 0;
126
130 virtual SDKError Cancel() = 0;
131};
132
137{
138public:
140
143 virtual unsigned int GetSenderUserID() = 0;
144
148 virtual SDKError Approve() = 0;
149
153 virtual SDKError Decline() = 0;
154};
155
160{
161public:
163
166 virtual unsigned int GetSenderUserID() = 0;
167
172};
173
212
223
224
230{
231public:
233
237 virtual SDKError Accept() = 0;
238
242 virtual SDKError Decline() = 0;
243
247 virtual SDKError Ignore() = 0;
248};
252{
253public:
256 virtual void onSmartSummaryStatusChange(bool isStarted) = 0;
257
261 virtual void onSmartSummaryPrivilegeRequested(unsigned int senderId, ISmartSummaryPrivilegeHandler* handler) = 0;
262
266 virtual void onSmartSummaryStartReqResponse(bool timeout, bool decline) = 0;
267
270 virtual void onEnableSmartSummary() = 0;
271
273
274};
275
344
345
350{
351public:
353
355 virtual const zchar_t* GetQueryID() = 0;
356
358 virtual const zchar_t* GetQustionContent() = 0;
359
361 virtual const zchar_t* GetAnswerContent() = 0;
362
365
367 virtual const zchar_t* GetErrorMsg() = 0;
368
370 virtual time_t GetTimeStamp() = 0;
371
377};
378
383{
384public:
386
390 virtual SDKError EnableQuery() = 0;
391
394 virtual bool IsForRequest() = 0;
395};
396
401{
402public:
404
409
412 virtual bool IsForRequest() = 0;
413};
414
419{
420public:
422
424 virtual unsigned int GetSenderUserID() = 0;
425
430};
431
436{
437public:
439
441 virtual unsigned int GetSenderUserID() = 0;
442
446 virtual SDKError Approve() = 0;
447
451 virtual SDKError Decline() = 0;
452};
453
458{
459public:
461
465
470 virtual SDKError SendQueryQuestion(const zchar_t* sQuestion) = 0;
471
476
479 virtual bool CanSendQuery() = 0;
480
484};
485
490{
491public:
493
495 virtual const zchar_t* GetTipTitle() = 0;
496
498 virtual const zchar_t* GetTipString() = 0;
499
503 virtual SDKError Confirm() = 0;
504
508 virtual SDKError Cancel() = 0;
509};
510
512{
513public:
515
517 virtual unsigned int GetSenderUserID() = 0;
518
522 virtual SDKError Approve() = 0;
523
528 virtual SDKError Decline(bool bDeclineAll) = 0;
529};
530
531
535{
536public:
538
540 virtual void onQueryStateNotSupported() = 0;
541
545
549
553
557
560 virtual void onFailedToStartQuery(bool bTimeout) = 0;
561
565
569
573
577
580 virtual void onSendQueryPrivilegeChanged(bool canSendQuery) = 0;
581
584 virtual void onFailedToRequestSendQuery(bool bTimeout) = 0;
585
589};
590
591
643
644
662
665{
666public:
670 virtual unsigned int GetRequestUserID() = 0;
673 virtual bool IsTurnOn() = 0;
678 virtual SDKError Agree(bool bDeleteAssets) = 0;
682 virtual SDKError Decline() = 0;
683};
684
685
705
708{
709public:
716
721
725
729
730 // \brief Determine whether the current meeting supports turning off the AI Companion features.
733
734 // \brief Determine whether the current meeting supports turning on the AI Companion features.
737
740 virtual bool CanTurnOffAllAICompanions() = 0;
741
744 virtual bool CanTurnOnAllAICompanions() = 0;
745
751 virtual SDKError TurnOffAllAICompanions(bool bDeleteAssets) = 0;
752
758
764
769
775
781};
782
784#endif
The handler to handle a user request to turn the AI Companion features on or off.
virtual SDKError Decline()=0
Decline the request to turn the AI companion features on or off.
virtual unsigned int GetRequestUserID()=0
Get the user ID who requests host to turn the AI Companion features on or off.
virtual bool IsTurnOn()=0
Turn the AI Companion features on or off.
virtual SDKError Agree(bool bDeleteAssets)=0
Agree the request to turn the AI companion features on or off.
virtual IList< AICompanionFeature > * GetAssetsDeletedFeatureList()=0
Get the list of features that the assets are deleted when the feature is turned off by participant.
virtual SDKError AgreeTurnOff()=0
Agree the auto AI Companion feature turn off status. Keep the AI Companion feature off.
virtual IList< AICompanionFeature > * GetFeatureList()=0
Get the list of features that the participant turns off.
virtual SDKError TurnOnAgain()=0
Turn on the auto AI Companion feature which was stopped by the participant before the host or cohost ...
Meeting AI Companion controller interface.
virtual bool IsTurnoffAllAICompanionsSupported()=0
virtual SDKError SetEvent(IMeetingAICompanionCtrlEvent *pEvent)=0
Configure the meeting AI companion controller callback event handler.
virtual SDKError TurnOnAllAICompanions()=0
Turn on the AI Companion features. \Only smart summary and query can be turned on at once.
virtual IMeetingSmartSummaryHelper * GetMeetingSmartSummaryHelper()=0
Get the smart summary helper.
virtual bool CanRequestTurnOnAllAICompanions()=0
Determine whether the current user can request host to turn on all AI Companion features if they are ...
virtual bool CanRequestTurnoffAllAICompanions()=0
Determine whether the current user can request host to turn off all started AI Companion features....
virtual bool CanTurnOnAllAICompanions()=0
Determine whether the current user can turn on the AI Companion features.
virtual bool CanTurnOffAllAICompanions()=0
Determine whether the current user can turn off the AI Companion features.
virtual SDKError RequestTurnOnAllAICompanions()=0
request host to turn on all AI Companion features if they are enabled for the current meeting....
virtual SDKError RequestTurnoffAllAICompanions()=0
request host to turn off all started AI Companion features. \All AI features include smart summary,...
virtual IMeetingAICompanionSmartSummaryHelper * GetMeetingAICompanionSmartSummaryHelper()=0
Get the AI companion smart summary helper.
virtual bool IsTurnOnAllAICompanionsSupported()=0
virtual SDKError TurnOffAllAICompanions(bool bDeleteAssets)=0
Turn off the AI Companion features. \All AI features including smart summary, smart recording and que...
virtual IMeetingAICompanionQueryHelper * GetMeetingAICompanionQueryHelper()=0
Get the AI companion query helper.
virtual void onAICompanionFeatureSwitchRequestResponse(bool bTimeout, bool bAgree, bool bTurnOn)=0
The callback when the host handles the request to turn the AI Companion features on or off.
virtual void onAICompanionFeatureCanNotBeTurnedOff(IList< AICompanionFeature > *features)=0
The callback when the started AI Companion feature can't be turned off.
virtual void onAICompanionFeatureSwitchRequested(IAICompanionFeatureSwitchHandler *handler)=0
The callback when host receives the request to turn the AI Companion features on or off.
virtual void onAICompanionFeatureTurnOffByParticipant(IAICompanionFeatureTurnOnAgainHandler *handler)=0
The callback when the auto start AI Companion feature is turned off by a participant before the host ...
Meeting AI companion query callback event.
virtual void onReceiveRequestToEnableQuery(IMeetingApproveEnableQueryHandler *pHandler)=0
Callback event that receiving request to enable query.
virtual void onReceiveQueryAnswer(IMeetingAICompanionQueryItem *pQueryItem)=0
Callback event that receiving query answer.
virtual void onQueryStateNotSupported()=0
Callback event that the meeting does not support query.
virtual void onReceiveRequestToSendQuery(IMeetingApproveSendQueryHandler *pHandler)=0
Callback event that receiving request to send query.
virtual void onFailedToRequestSendQuery(bool bTimeout)=0
Callback event that the request to send query failed.
virtual void onReceiveRequestToStartQuery(IMeetingApproveStartQueryHandler *pHandler)=0
Callback event that receiving request to start query.
virtual void onQuerySettingChanged(MeetingAICompanionQuerySettingOptions eSetting)=0
Callback event that the query setting is changed.
virtual void onQueryStateSupportedButDisabled(IMeetingEnableQueryHandler *pHandler)=0
Callback event that the meeting supports query but query feature is disabled.
virtual void onQueryEnableActionCallback(IMeetingEnableQueryActionHandler *pHandler)=0
Callback event that receiving query enable action callback.
virtual void onQueryStateEnabledButNotStarted(IMeetingStartQueryHandler *pHandler)=0
Callback event that the query is not started.
virtual void onFailedToStartQuery(bool bTimeout)=0
Callback event that the query failed to start.
virtual void onSendQueryPrivilegeChanged(bool canSendQuery)=0
Callback event that getting or losing send query question privilege.
virtual void onQueryStateStarted(IMeetingSendQueryHandler *pHandler)=0
Callback event that the query is started.
Meeting AI companion query helper interface.
virtual SDKError ChangeQuerySettings(MeetingAICompanionQuerySettingOptions setting)=0
Change query setting.
virtual SDKError IsAICompanionQueryPrivacyLegalNoticeAvailable(bool &bAvailable)=0
Determine whether the legal notice for the AI Companion query privacy is available.
virtual const zchar_t * GetAICompanionQueryLegalNoticesExplained()=0
Get the AI Companion query legal notices explained.
virtual void SetEvent(IMeetingAICompanionQueryHelperEvent *event)=0
Set the AI companion query callback event handler.
virtual MeetingAICompanionQuerySettingOptions GetSelectedQuerySetting()=0
Get the selected query setting.
virtual SDKError IsAICompanionQueryLegalNoticeAvailable(bool &bAvailable)=0
Determine whether the legal notice for the AI Companion query is available.
virtual const zchar_t * GetAICompanionQueryLegalNoticesPrompt()=0
Get the AI Companion query legal notices prompt.
virtual SDKError CanChangeQuerySetting(bool &bCan)=0
Determine whether the current user can change query setting.
virtual const zchar_t * GetAICompanionQueryPrivacyLegalNoticesPrompt()=0
Get the AI Companion query privacy legal notices prompt.
Interface to get AI companion query item information.
virtual const zchar_t * GetAnswerContent()=0
Get the query answer content.
virtual const zchar_t * GetQustionContent()=0
Get the query question content.
virtual time_t GetTimeStamp()=0
Get the timestamp.
virtual MeetingAICompanionQueryRequestError GetErrorCode()=0
Get the error code.
virtual const zchar_t * GetQueryID()=0
Get the query question ID.
virtual SDKError Feedback(MeetingAICompanionQueryFeedbackType eFeedbackType)=0
Send feedback of query answer.
virtual const zchar_t * GetErrorMsg()=0
Get the error message.
virtual void onSmartSummaryStartRequestReceived(IMeetingApproveStartSmartSummaryHandler *handler)=0
Notify receive request to start smart summary.
virtual void onFailedToStartSmartSummary(bool bTimeout)=0
Notify failed to start the smart summary.
virtual void onSmartSummaryStateNotSupported()=0
Notify the meting does not support smart summary.
virtual void onSmartSummaryEnableRequestReceived(IMeetingApproveEnableSmartSummaryHandler *handler)=0
Notify receive request to enable smart summary.
virtual void onSmartSummaryStateSupportedButDisabled(IMeetingEnableSmartSummaryHandler *handler)=0
Notify the meeting support smart summary but smart summary feature is disabled.
virtual void onSmartSummaryStateEnabledButNotStarted(IMeetingStartSmartSummaryHandler *handler)=0
Notify the meeting smart summary is not started.
virtual void onSmartSummaryStateStarted(IMeetingStopSmartSummaryHandler *handler)=0
Notify the meeting smart summary is started.
virtual void onSmartSummaryEnableActionCallback(IMeetingEnableSmartSummaryActionHandler *handler)=0
Notify receive smart summary enable action callback.
virtual void SetEvent(IMeetingAICompanionSmartSummaryHelperEvent *event)=0
Set the smart summary callback event handler.
Interface to appprove enable AI companion query.
virtual SDKError ContinueApprove()=0
Continue approve action.
virtual unsigned int GetSenderUserID()=0
Get the user id of requester.
The handler to approve the smart summary enablement request.
virtual unsigned int GetSenderUserID()=0
Get the user ID of the requester.
virtual SDKError ContinueApprove()=0
Continue approve action.
virtual SDKError Approve()=0
Approve the request.
virtual unsigned int GetSenderUserID()=0
Get the requester's user ID.
virtual SDKError Decline(bool bDeclineAll)=0
Decline the request.
Interface to appprove start AI companion query.
virtual SDKError Decline()=0
Decline the request.
virtual SDKError Approve()=0
Approve the request.
virtual unsigned int GetSenderUserID()=0
Get the requester's user ID.
The handler to approve the smart summary started request.
virtual unsigned int GetSenderUserID()=0
Get the user ID of the requester.
virtual SDKError Decline()=0
Decline request.
virtual SDKError Approve()=0
Approve request.
virtual SDKError Confirm()=0
Confirm enable query. The object will be deleted after this interface call.
virtual SDKError Cancel()=0
Cancel enable query. The object will be deleted after this interface call.
virtual const zchar_t * GetTipTitle()=0
Get the title of the tip.
virtual const zchar_t * GetTipString()=0
Get the tip string.
Interface to enable AI companion query.
virtual SDKError EnableQuery()=0
Enable meeting query.
virtual bool IsForRequest()=0
Determine if this handler for request enable query.
The handler to confirm enabling smart summary.
virtual SDKError Confirm()=0
Confirm enabling smart summary.
virtual const zchar_t * GetTipString()=0
Get the string of tip.
virtual const zchar_t * GetTipTitle()=0
Get the title of tip.
virtual SDKError Cancel()=0
Cancel enabling smart summary.
Interface to handle enable smart summary.
virtual SDKError EnableSmartSummary()=0
Enable smart summary.
virtual bool IsForRequest()=0
Determine if this handler is requesting enable smart summary.
virtual SDKError RequestSendQueryPrivilege()=0
Request send query privilege.
virtual SDKError StopMeetingQuery()=0
Stop meeting query.
virtual bool CanSendQuery()=0
Determine if the current user can send query.
virtual IList< const zchar_t * > * GetDefaultQueryQuestions()=0
Get default query questions.
virtual SDKError SendQueryQuestion(const zchar_t *sQuestion)=0
Send query question.
Meeting smart summary callback event.
virtual void onSmartSummaryStartReqResponse(bool timeout, bool decline)=0
Callback event when the host handle the smart summary request.
virtual void onSmartSummaryStatusChange(bool isStarted)=0
Callback event when smart summary status changes.
virtual void onSmartSummaryPrivilegeRequested(unsigned int senderId, ISmartSummaryPrivilegeHandler *handler)=0
Callback event when a user requests host to start smart summary.
virtual void onEnableSmartSummary()=0
Callback event when the user need to go to web to enable the smart summary feature.
Meeting smart summary helper interface.
virtual SDKError CanEnableSmartSummaryFeature()=0
Whether the current user can enable the smart summary feature for the account.
virtual bool IsSmartSummarySupported()=0
Determine if current meeting support smart summary feature.
virtual void SetEvent(IMeetingSmartSummaryHelperEvent *event)=0
Set the smart summary callback event handler.
virtual bool IsSmartSummaryStarted()=0
Query whether smart summary is started.
virtual SDKError StartSmartSummary()=0
Start smart summary.
virtual SDKError RequestEnableSmartSummaryFeature()=0
Request the admin to enable the smart summary feature for the account.
virtual bool IsSmartSummaryEnabled()=0
Determine if smart summary feature is enabled in the meeting.
virtual SDKError CanRequestEnableSmartSummaryFeature()=0
Whether the current user can request the admin to enable the smart summary feature for the account.
virtual SDKError CanRequestStartSmartSummary()=0
Whether the current user can request host to start the smart summary for the current meeting.
virtual SDKError StopSmartSummary()=0
Stop smart summary.
virtual SDKError RequestStartSmartSummary()=0
Request the host to start the smart summary for the current meeting.
virtual SDKError CanStartSmartSummary()=0
Whether the current user is able to start smart summary.
virtual SDKError EnableSmartSummaryFeature()=0
Enable the smart summary feature for the account.
Interface to start AI companion query.
virtual SDKError StartMeetingQuery()=0
Start meeting query.
virtual bool IsForRequest()=0
Determine if this handler for request start query.
Interface to handle starting the smart summary.
virtual bool IsForRequest()=0
Determine if this handler is for requesting to start the smart summary.
virtual SDKError StartSmartSummary()=0
Start smart summary.
Interface to handle stopping the smart summary.
virtual SDKError StopSmartSummary()=0
Stop smart summary.
Interface to handle start smart summary request.
virtual SDKError Decline()=0
Decline the start smart summary request.
virtual SDKError Accept()=0
Agree the start smart summary request.
virtual SDKError Ignore()=0
Ignore the start smart summary request.
MeetingAICompanionQuerySettingOptions
Enumerations of the type for query setting options.
@ MeetingAICompanionQuerySettingOptions_WhenParticipantsAndOrganizationJoin
@ MeetingAICompanionQuerySettingOptions_OnlyHost
Only hosts and users with host privileges assigned before the meeting starts can ask question.
@ MeetingAICompanionQuerySettingOptions_ParticipantsAndInviteesInOurOrganization
@ MeetingAICompanionQuerySettingOptions_None
Initialization.
@ MeetingAICompanionQuerySettingOptions_WhenQueryStarted
All participants can ask question, and answers are based on the meeting's start until now.
@ MeetingAICompanionQuerySettingOptions_WhenParticipantsJoin
All participants can ask question, and answers are based on the current user's joining time until now...
@ QUERY
Meeting questions with AI Companion generates transcript assets.
@ SMART_SUMMARY
Meeting summary with AI Companion generates summary assets.
@ SMART_RECORDING
Smart recording with AI Companion generates recording assets.
MeetingAICompanionQueryRequestError
Enumerations of the type for query request error.
@ MeetingAICompanionQueryRequestError_WebUnAvailable
WebUnAvailable.
@ MeetingAICompanionQueryRequestError_QueryRateLimitError
QueryRateLimitError.
@ MeetingAICompanionQueryRequestError_Timeout
Timeout.
@ MeetingAICompanionQueryRequestError_PermissionVerifyFailed
PermissionVerifyFailed.
@ MeetingAICompanionQueryRequestError_InvalidParam
InvalidParam.
@ MeetingAICompanionQueryRequestError_SendFailed
SendFailed.
@ MeetingAICompanionQueryRequestError_Unknown
Unknown.
@ MeetingAICompanionQueryRequestError_OK
OK.
MeetingAICompanionQueryFeedbackType
Enumerations of the type for query feedback.
@ MeetingAICompanionQueryFeedbackType_Good
Good.
@ MeetingAICompanionQueryFeedbackType_Bad
Bad.
@ MeetingAICompanionQueryFeedbackType_None
Initialization.
ZOOM windows SDK Common Definition File.
#define END_ZOOM_SDK_NAMESPACE
#define BEGIN_ZOOM_SDK_NAMESPACE
char zchar_t
SDKError
SDK error types. Here are more detailed structural descriptions.