Package us.zoom.sdk

Interface InMeetingPollingController


public interface InMeetingPollingController
  • 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

      boolean canShowAnswerResultList(String pollingID)
      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

      List<IPollingQuestionItem> getPollingQuestionItemList(String pollingID)
      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

      List<IPollingAnswerItem> getPollingRightAnswerItemList(String pollingID)
      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

      List<IPollingAnswerResultItem> getPollingAnswerResultItemList(String pollingID)
      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

      IPollingItem getPollingItemByID(String pollingID)
      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

      boolean canGetRightAnswerItemList(String pollingID)
      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

      String getPollingQuestionImagePath(String pollingID, String pollingQuestionID)
      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

      boolean isQuestionCaseSensitive(String pollingID, String pollingQuestionID)
      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

      boolean canEditPolling(String pollingID)
      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

      MobileRTCSDKError editPolling(String pollingID)
      Open edit polling in a web browser.
      Parameters:
      pollingID - Specify the edit poll's polling ID.
      Returns:
      MobileRTCSDKError
    • canDeletePolling

      boolean canDeletePolling(String pollingID)
      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

      MobileRTCSDKError deletePolling(String pollingID)
      Delete the polling.
      Parameters:
      pollingID - Specify the delete poll's polling ID.
      Returns:
      MobileRTCSDKError
    • canDuplicatePolling

      boolean canDuplicatePolling(String pollingID)
      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

      MobileRTCSDKError duplicatePolling(String pollingID)
      Duplicate the polling.
      Parameters:
      pollingID - Specify the duplicate poll's polling ID.
      Returns:
      true indicates you can do.
    • canViewPollingResultFromBrowser

      boolean canViewPollingResultFromBrowser(String pollingID)
      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

      MobileRTCSDKError viewPollingResultFromBrowser(String pollingID)
      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

      boolean canStartPolling(String pollingID)
      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

      MobileRTCSDKError startPolling(String pollingID)
      Start the polling.
      Parameters:
      pollingID - Specify the poll's polling ID.
      Returns:
      MobileRTCSDKError
    • stopPolling

      MobileRTCSDKError stopPolling(String pollingID)
      Stop the polling.
      Parameters:
      pollingID - Specify the poll's polling ID.
      Returns:
      MobileRTCSDKError
    • canRestartPolling

      boolean canRestartPolling(String pollingID)
      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

      MobileRTCSDKError restartPolling(String pollingID)
      Restart the polling.
      Parameters:
      pollingID - Specify the poll's polling ID.
      Returns:
      MobileRTCSDKError
    • canSharePollingResult

      boolean canSharePollingResult(String pollingID)
      Determine if the host or co-host can share the poll's result.
      Parameters:
      pollingID - Specify the poll's polling ID.
      Returns:
      true indicates you can do.
    • startSharePollingResult

      MobileRTCSDKError startSharePollingResult(String pollingID)
      Share the poll's result.
      Parameters:
      pollingID - Specify the poll's polling ID.
      Returns:
      MobileRTCSDKError
    • stopSharePollingResult

      MobileRTCSDKError stopSharePollingResult(String pollingID)
      Stop the poll's result.
      Parameters:
      pollingID - Specify the poll's polling ID.
      Returns:
      MobileRTCSDKError
    • enableGetRightAnswerList

      MobileRTCSDKError enableGetRightAnswerList(boolean bEnable)
      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

      MobileRTCSDKError setAnswerCheck(IPollingAnswerItem answerItem, boolean bCheck)
      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

      MobileRTCSDKError setAnswerContent(IPollingAnswerItem answerItem, String answerText)
      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

      boolean canSubmitPolling(String pollingID)
      Determine if the attendee can submit the polling.
      Parameters:
      pollingID - Specify the submit poll's polling ID.
      Returns:
      true indicates you can do.
    • submitPolling

      MobileRTCSDKError submitPolling(String pollingID)
      Submit the polling.
      Parameters:
      pollingID - Specify the submit poll's polling ID.
      Returns:
      MobileRTCSDKError