Uses of Enum Class
ch.threema.apitool.types.voting.State
Packages that use State
Package
Description
-
Uses of State in ch.threema.apitool
Methods in ch.threema.apitool with parameters of type StateModifier 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 State in ch.threema.apitool.helpers
Methods in ch.threema.apitool.helpers with parameters of type StateModifier 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 State in ch.threema.apitool.messages
Methods in ch.threema.apitool.messages that return StateModifier and TypeMethodDescriptionBallotCreateMessage.getState()The group poll stateGroupBallotCreateMessage.getState()The group poll stateConstructors in ch.threema.apitool.messages with parameters of type StateModifierConstructorDescriptionBallotCreateMessage(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 State in ch.threema.apitool.types.voting
Methods in ch.threema.apitool.types.voting that return StateModifier and TypeMethodDescriptionstatic StateState.valueOf(int state) Returns the enum constant of this class with the specified name.static StateReturns the enum constant of this class with the specified name.static State[]State.values()Returns an array containing the constants of this enum class, in the order they are declared.