Powerbar Element

Describes Power Bar Element

Please see details description of Elements Common API.

final public class Powerbar: BasePoll

Get user vote

Returns array with single element that represents power user voted for.

userVote: [Int]?

Vote

Vote for specified power(from 1 to 10). Returns true on success.

boolean vote(int power)