Class Content


  • public class Content
    extends java.lang.Object
    This class is Content model class. Content provides information, such as content URI, title and name.
    • Constructor Summary

      Constructors 
      Constructor Description
      Content​(JSONObject jsonObject)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getContentName()
      Gets the name of the content.
      java.lang.String getContentUri()
      Gets the unique identifier for the content.
      java.lang.String getTitle()
      Gets the title of the content.
      • Methods inherited from class java.lang.Object

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

      • Content

        public Content​(JSONObject jsonObject)
    • Method Detail

      • getContentUri

        public java.lang.String getContentUri()
        Gets the unique identifier for the content.
      • getTitle

        public java.lang.String getTitle()
        Gets the title of the content.
      • getContentName

        public java.lang.String getContentName()
        Gets the name of the content. Examples: media, ebooks and games.

        Content name is defined by the airline.