Class MomentTarget


  • public class MomentTarget
    extends Object
    A moment's target. Construct with a URL of a resource containing metadata as required for the specific activity type. When fetching, the fields will contain the metadata values from that resource.
    Author:
    Gabriel Axel
    • Constructor Detail

      • MomentTarget

        protected MomentTarget()
      • MomentTarget

        public MomentTarget​(String url)
    • Method Detail

      • getUrl

        public String getUrl()
      • getId

        public String getId()
      • getName

        public String getName()
      • getDescription

        public String getDescription()
      • getImage

        public String getImage()
      • getText

        public String getText()
      • getDatePublished

        public Date getDatePublished()
      • getDuration

        public String getDuration()
      • getInAlbum

        public Album getInAlbum()
      • getAudio

        public Audio getAudio()
      • getByArtist

        public Artist getByArtist()