Package us.zoom.sdk
Interface InMeetingPollingController
public interface InMeetingPollingController
-
Method Summary
Modifier and TypeMethodDescriptionOpen create polling in a web browser.boolean
Determine if the host can add polling.boolean
canDeletePolling
(String pollingID) Determine if the host can delete polling.boolean
Determine whether the current meeting can do the polling.boolean
Determine if the host can download poll's result from browser.boolean
canDuplicatePolling
(String pollingID) Determine if the host can duplicate polling.boolean
canEditPolling
(String pollingID) Determine if the host can edit polling.boolean
canGetRightAnswerItemList
(String pollingID) Determine if the right answer item list can be allowed to get.boolean
canRestartPolling
(String pollingID) Determine if the host or co-host can restart the polling.boolean
canSharePollingResult
(String pollingID) Determine if the host or co-host can share the poll's result.boolean
canShowAnswerResultList
(String pollingID) Determine if the answer result list can be show.boolean
canStartPolling
(String pollingID) Determine if the host or co-host can start the polling.boolean
canSubmitPolling
(String pollingID) Determine if the attendee can submit the polling.boolean
canViewPollingResultFromBrowser
(String pollingID) Determine if the user can view polling result from browser..deletePolling
(String pollingID) Delete the polling.Download all stopped poll's result from browser.duplicatePolling
(String pollingID) Duplicate the polling.editPolling
(String pollingID) Open edit polling in a web browser.enableGetRightAnswerList
(boolean bEnable) Set to enable show right answer to participants when share quiz's result.Get the active poll's ID.getPollingAnswerResultItemList
(String pollingID) Get the list of polling answer result item.getPollingItemByID
(String pollingID) Get the polling item object of specified polling ID.Get the list of poll item.getPollingQuestionImagePath
(String pollingID, String pollingQuestionID) Get the polling question's image path.getPollingQuestionItemList
(String pollingID) Get the list of poll's question.getPollingRightAnswerItemList
(String pollingID) Get the list of polling question or subquestion's right answer.getQuestionCharactersLengthRange
(String pollingID, String pollingQuestionID) Get the polling question's minimum character and maximum character count.boolean
isQuestionCaseSensitive
(String pollingID, String pollingQuestionID) Determine if the question is case sensitive.restartPolling
(String pollingID) Restart the polling.setAnswerCheck
(IPollingAnswerItem answerItem, boolean bCheck) Attendee set answer's check.setAnswerContent
(IPollingAnswerItem answerItem, String answerText) Attendee set answer's content.setEvent
(IMeetingPollingCtrlEvent pEvent) Configure the meeting polling controller callback event handler.startPolling
(String pollingID) Start the polling.startSharePollingResult
(String pollingID) Share the poll's result.stopPolling
(String pollingID) Stop the polling.stopSharePollingResult
(String pollingID) Stop the poll's result.submitPolling
(String pollingID) Submit the polling.viewPollingResultFromBrowser
(String pollingID) Open a polling result in the web browser.
-
Method Details
-
setEvent
Configure the meeting polling controller callback event handler.- Parameters:
pEvent
-IMeetingPollingCtrlEvent
- Returns:
- If the function succeeds, the return value is
MobileRTCSDKError.SDKERR_SUCCESS
.
-
canDoPolling
boolean canDoPolling()Determine whether the current meeting can do the polling.- Returns:
- true indicates you can do polling.
-
canShowAnswerResultList
Determine if the answer result list can be show.- Parameters:
pollingID
- Specify the answer result's polling ID.- Returns:
- true indicates you can do.
-
getPollingQuestionItemList
Get the list of poll's question.- Parameters:
pollingID
- Specify the question's polling ID.- Returns:
- If the function succeeds the return value is List. Otherwise, the return value is null or empty .
-
getPollingRightAnswerItemList
Get the list of polling question or subquestion's right answer.- Parameters:
pollingID
- Specify the right answer's polling ID.- Returns:
- If the function succeeds the return value is List. Otherwise, the return value is null or empty .
-
getPollingAnswerResultItemList
Get the list of polling answer result item.- Parameters:
pollingID
- Specify the answer result's polling ID.- Returns:
- If the function succeeds the return value is List. Otherwise, the return value is null or empty .
-
getPollingItemByID
Get the polling item object of specified polling ID.- Parameters:
pollingID
- Specify the polling ID for which you want to get the information.- Returns:
- If the function succeeds the return value is List. Otherwise the function fails and the return value is null .
-
canGetRightAnswerItemList
Determine if the right answer item list can be allowed to get.- Parameters:
pollingID
- Specify the right answer's polling ID.- Returns:
- true indicates you can do.
-
getPollingQuestionImagePath
Get the polling question's image path.- Parameters:
pollingID
- Specify the answer's polling ID.pollingQuestionID
- Specify the answer's question ID.- Returns:
- If the function succeeds, the return value is the question's image path, Otherwise the function fails, and the return value is null.
-
getQuestionCharactersLengthRange
SDKQuestionCharactersLength getQuestionCharactersLengthRange(String pollingID, String pollingQuestionID) Get the polling question's minimum character and maximum character count. This function can only be used by short answer question and long answer question.- Parameters:
pollingID
- Specify the question's polling ID.pollingQuestionID
- Specify the question's question ID.- Returns:
SDKQuestionCharactersLength
-
isQuestionCaseSensitive
Determine if the question is case sensitive.- Parameters:
pollingID
- Specify the question's polling ID.pollingQuestionID
- Specify the question's question ID.- Returns:
- Specify the question's question ID.
-
canAddPolling
boolean canAddPolling()Determine if the host can add polling. Only the origin host can add polling.- Returns:
- true indicates you can do.Just origin host can add.
-
addPolling
MobileRTCSDKError addPolling()Open create polling in a web browser.- Returns:
MobileRTCSDKError
-
canEditPolling
Determine if the host can edit polling. Only the origin host can edit polling.- Parameters:
pollingID
- Specify the edit poll's polling ID.- Returns:
- true indicates you can do.Just origin host can edit.
-
editPolling
Open edit polling in a web browser.- Parameters:
pollingID
- Specify the edit poll's polling ID.- Returns:
MobileRTCSDKError
-
canDeletePolling
Determine if the host can delete polling. Only the origin host can delete polling.- Parameters:
pollingID
- Specify the delete poll's polling ID.- Returns:
- true indicates you can do.Just origin host can edit.
-
deletePolling
Delete the polling.- Parameters:
pollingID
- Specify the delete poll's polling ID.- Returns:
MobileRTCSDKError
-
canDuplicatePolling
Determine if the host can duplicate polling. Only the origin host can duplicate polling- Parameters:
pollingID
- Specify the duplicate poll's polling ID.- Returns:
- true indicates you can do.
-
duplicatePolling
Duplicate the polling.- Parameters:
pollingID
- Specify the duplicate poll's polling ID.- Returns:
- true indicates you can do.
-
canViewPollingResultFromBrowser
Determine if the user can view polling result from browser..- Parameters:
pollingID
- Specify the poll's polling ID.、 remarks Just origin host can duplicate.- Returns:
- true indicates you can do.
-
viewPollingResultFromBrowser
Open a polling result in the web browser.- Parameters:
pollingID
- Specify the poll's polling ID.- Returns:
MobileRTCSDKError
-
getPollingItemList
List<IPollingItem> getPollingItemList()Get the list of poll item.- Returns:
- If the function succeeds the return value is List. Otherwise, the return value is null or empty .
-
canStartPolling
Determine if the host or co-host can start the polling.- Parameters:
pollingID
- Specify the poll's polling ID.- Returns:
- true indicates you can do.
-
startPolling
Start the polling.- Parameters:
pollingID
- Specify the poll's polling ID.- Returns:
MobileRTCSDKError
-
stopPolling
Stop the polling.- Parameters:
pollingID
- Specify the poll's polling ID.- Returns:
MobileRTCSDKError
-
canRestartPolling
Determine if the host or co-host can restart the polling.- Parameters:
pollingID
- Specify the poll's polling ID.- Returns:
- true indicates you can do.
-
restartPolling
Restart the polling.- Parameters:
pollingID
- Specify the poll's polling ID.- Returns:
MobileRTCSDKError
-
enableGetRightAnswerList
Set to enable show right answer to participants when share quiz's result.- Parameters:
bEnable
- true indicates to enable. FALSE not.- Returns:
MobileRTCSDKError
-
getActivePollingID
String getActivePollingID()Get the active poll's ID.- Returns:
- The shared result or started poll's ID.
-
canDownloadResult
boolean canDownloadResult()Determine if the host can download poll's result from browser. Only the origin host can download- Returns:
- true indicates you can download the result.
-
downLoadResult
MobileRTCSDKError downLoadResult()Download all stopped poll's result from browser.- Returns:
MobileRTCSDKError
-
setAnswerCheck
Attendee set answer's check. This function should only be used by single, matching, rank order, multi, rating scale or drop down questions.- Parameters:
answerItem
-IPollingAnswerItem
bCheck
- Specify whether you want to select the answer or not.- Returns:
MobileRTCSDKError
-
setAnswerContent
Attendee set answer's content. This function should only be used by fill blank, short answer and long answer questions.- Parameters:
answerItem
-IPollingAnswerItem
answerText
- Specify you want to reply answer's content.- Returns:
MobileRTCSDKError
-
canSubmitPolling
Determine if the attendee can submit the polling.- Parameters:
pollingID
- Specify the submit poll's polling ID.- Returns:
- true indicates you can do.
-
submitPolling
Submit the polling.- Parameters:
pollingID
- Specify the submit poll's polling ID.- Returns:
MobileRTCSDKError
-