PollType

@JsonClass(generateAdapter = false)
enum PollType : Enum<PollType>

Entries

Link copied to clipboard
@Json(name = "org.matrix.msc3381.poll.disclosed")
DISCLOSED_UNSTABLE

Voters should see results as soon as they have voted.

Link copied to clipboard
@Json(name = "m.poll.disclosed")
DISCLOSED
Link copied to clipboard
@Json(name = "org.matrix.msc3381.poll.undisclosed")
UNDISCLOSED_UNSTABLE

Results should be only revealed when the poll is ended.

Link copied to clipboard
@Json(name = "m.poll.undisclosed")
UNDISCLOSED

Functions

Link copied to clipboard
fun valueOf(value: String): PollType

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
Link copied to clipboard