Class Recommendations

java.lang.Object
com.wrapper.spotify.model_objects.AbstractModelObject
com.wrapper.spotify.model_objects.specification.Recommendations
All Implemented Interfaces:
IModelObject

public class Recommendations
extends AbstractModelObject
Retrieve information about Recommendation objects by building instances from this class.
  • Method Details

    • getSeeds

      public RecommendationsSeed[] getSeeds()
      Get the recommendation seeds from the recommendations object.
      Returns:
      An array of recommendation seed objects.
    • getTracks

      public TrackSimplified[] getTracks()
      Get the (simplified) tracks from the recommendations object.
      Returns:
      An array of track object (simplified) ordered according to the parameters supplied.
    • builder

      public Recommendations.Builder builder()
      Description copied from interface: IModelObject
      Create a builder for building an instance of a model object.
      The type of the builder and its methods depend on its corresponding implementation.
      Returns:
      A builder object.