Class MediaRecommendation


  • public class MediaRecommendation
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      MediaRecommendation​(JSONObject mediaRecommendationJson)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      JSONObject getBreakdown()
      Gets the details of the of the recommended item like tones, genres.
      java.lang.String getMediaUri()
      Gets the media uri of the recommended item.
      java.lang.String getMid()
      Gets the mid of the recommended item.
      java.lang.Double getScore()
      Gets the score of the recommended item.
      java.lang.String getTitle()
      Gets the title of the recommended item.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • MediaRecommendation

        public MediaRecommendation​(JSONObject mediaRecommendationJson)
    • Method Detail

      • getMediaUri

        public java.lang.String getMediaUri()
        Gets the media uri of the recommended item.
        Returns:
      • getTitle

        public java.lang.String getTitle()
        Gets the title of the recommended item.
        Returns:
      • getScore

        public java.lang.Double getScore()
        Gets the score of the recommended item.
        Returns:
      • getMid

        public java.lang.String getMid()
        Gets the mid of the recommended item.
        Returns:
      • getBreakdown

        public JSONObject getBreakdown()
        Gets the details of the of the recommended item like tones, genres.
        Returns:
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object