Class FriendsAPI

  • All Implemented Interfaces:
    RestController

    public class FriendsAPI
    extends Controller
    Class for setting the query parameters of Friends API. All Nullable parameters means you can remove the parameter by passing a null value.
    • Constructor Detail

      • FriendsAPI

        public FriendsAPI()
    • Method Detail

      • getFriends

        public void getFriends​(FriendsParams friendsParams,
                               boolean clearCache,
                               ListenerModel<BaseModel<java.util.List<Friend>>,​java.util.List<Friend>> listener)
        Method to get a list of Friend
        Parameters:
        friendsParams - the FriendsParams for Friends API
        clearCache - set to true to clear previously stored cache
        listener - callback to handle the results