VotesQuery

@objcMembers
@objc(GetSocialVotesQuery)
public final class VotesQuery : NSObject

Describe a query to get votes.

  • Poll option to filter. If not set, all votes will be returned.

    Declaration

    Swift

    public var pollOptionId: String?
  • Create query to get votes for an activity.

    • id: Activity id.

    Declaration

    Swift

    @objc(forActivityWithId:)
    public static func forActivity(_ id: String) -> VotesQuery

    Return Value

    New VoteQuery instance.

  • Description.

    Declaration

    Swift

    public override var description: String { get }