Class AppsGetLeaderboardQuery

    • Constructor Detail

      • AppsGetLeaderboardQuery

        public AppsGetLeaderboardQuery​(VkApiClient client,
                                       UserActor actor,
                                       GetLeaderboardType type)
        Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters
        Parameters:
        client - VK API client
        actor - actor with access token
        type - value of "type" parameter.
    • Method Detail

      • type

        protected AppsGetLeaderboardQuery type​(GetLeaderboardType value)
        Leaderboard type. Possible values: *'level' — by level,, *'points' — by mission points,, *'score' — by score ().
        Parameters:
        value - value of "type" parameter.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • global

        public AppsGetLeaderboardQuery global​(java.lang.Boolean value)
        Rating type. Possible values: *'1' — global rating among all players,, *'0' — rating among user friends.
        Parameters:
        value - value of "global" parameter. By default 1.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.
      • extended

        public AppsGetLeaderboardQuery extended​(java.lang.Boolean value)
        1 — to return additional info about users
        Parameters:
        value - value of "extended" parameter. By default 0.
        Returns:
        a reference to this AbstractQueryBuilder object to fulfill the "Builder" pattern.