Uses of Enum Class
ch.threema.apitool.types.voting.VotingMode
Packages that use VotingMode
Package
Description
-
Uses of VotingMode in ch.threema.apitool
Methods in ch.threema.apitool with parameters of type VotingModeModifier and TypeMethodDescriptionstatic EncryptResultCryptTool.encryptBallotCreateMessage(byte[] ballotId, String description, State state, VotingMode votingMode, ResultsDisclosureType resultsDisclosureType, int order, DisplayMode displayMode, List<BallotChoice> choices, List<String> participants, byte[] senderPrivateKey, byte[] recipientPublicKey) Encrypt a Ballotstatic EncryptResultCryptTool.encryptGroupBallotCreateMessage(GroupId groupId, byte[] ballotId, String description, State state, VotingMode votingMode, ResultsDisclosureType resultsDisclosureType, int order, DisplayMode displayMode, List<BallotChoice> choices, List<String> participants, byte[] senderPrivateKey, byte[] recipientPublicKey) Encrypt a Group -
Uses of VotingMode in ch.threema.apitool.helpers
Methods in ch.threema.apitool.helpers with parameters of type VotingModeModifier and TypeMethodDescriptionE2EHelper.sendBallotCreateMessage(String threemaId, byte[] ballotId, String description, State state, VotingMode votingMode, ResultsDisclosureType resultsDisclosureType, DisplayMode displayMode, List<BallotChoice> choices, List<String> participants) Encrypt a ballot create message and send it to the given recipient.ApiResponse<org.json.JSONArray> E2EHelper.sendGroupBallotCreateMessage(List<String> threemaIds, GroupId groupId, byte[] ballotId, String description, State state, VotingMode votingMode, ResultsDisclosureType resultsDisclosureType, DisplayMode displayMode, List<BallotChoice> choices, List<String> participants) Encrypt a ballot create message and send it to the given group. -
Uses of VotingMode in ch.threema.apitool.messages
Methods in ch.threema.apitool.messages that return VotingModeModifier and TypeMethodDescriptionBallotCreateMessage.getVotingMode()The voting modeGroupBallotCreateMessage.getVotingMode()The voting modeConstructors in ch.threema.apitool.messages with parameters of type VotingModeModifierConstructorDescriptionBallotCreateMessage(byte[] ballotId, String description, State state, VotingMode votingMode, ResultsDisclosureType resultsDisclosureType, int order, DisplayMode displayMode, List<BallotChoice> choices, List<String> participants) GroupBallotCreateMessage(GroupId groupId, byte[] ballotId, String description, State state, VotingMode votingMode, ResultsDisclosureType resultsDisclosureType, int order, DisplayMode displayMode, List<BallotChoice> choices, List<String> participants) -
Uses of VotingMode in ch.threema.apitool.types.voting
Methods in ch.threema.apitool.types.voting that return VotingModeModifier and TypeMethodDescriptionstatic VotingModeVotingMode.valueOf(int votingMode) Returns the enum constant of this class with the specified name.static VotingModeReturns the enum constant of this class with the specified name.static VotingMode[]VotingMode.values()Returns an array containing the constants of this enum class, in the order they are declared.