Class MessageActivity.Application

  • All Implemented Interfaces:
    ISnowflake
    Enclosing class:
    MessageActivity

    public static class MessageActivity.Application
    extends java.lang.Object
    implements ISnowflake
    Represents the Application of a MessageActivity, if it has been set.
    • Constructor Summary

      Constructors 
      Constructor Description
      Application​(java.lang.String name, java.lang.String description, java.lang.String iconId, java.lang.String coverId, long id)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getCoverId()
      The cover aka splash id of this Application.
      java.lang.String getCoverUrl()
      The url of the cover image for this application.
      java.lang.String getDescription()
      A short description of this Application.
      java.lang.String getIconId()
      The icon id of this Application.
      java.lang.String getIconUrl()
      The url of the icon image for this application.
      long getIdLong()
      The Snowflake id of this entity.
      java.lang.String getName()
      The name of this Application.
      • Methods inherited from class java.lang.Object

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

      • Application

        public Application​(java.lang.String name,
                           java.lang.String description,
                           java.lang.String iconId,
                           java.lang.String coverId,
                           long id)
    • Method Detail

      • getName

        @Nonnull
        public java.lang.String getName()
        The name of this Application.
        Returns:
        the applications name
      • getDescription

        @Nonnull
        public java.lang.String getDescription()
        A short description of this Application.
        Returns:
        the applications description
      • getIconId

        @Nullable
        public java.lang.String getIconId()
        The icon id of this Application.
        Returns:
        the applications icon id
      • getIconUrl

        @Nullable
        public java.lang.String getIconUrl()
        The url of the icon image for this application.
        Returns:
        the url of the icon
      • getCoverId

        @Nullable
        public java.lang.String getCoverId()
        The cover aka splash id of this Application.
        Returns:
        the applications cover image/id
      • getCoverUrl

        @Nullable
        public java.lang.String getCoverUrl()
        The url of the cover image for this application.
        Returns:
        the url of the cover/splash
      • getIdLong

        public long getIdLong()
        Description copied from interface: ISnowflake
        The Snowflake id of this entity. This is unique to every entity and will never change.
        Specified by:
        getIdLong in interface ISnowflake
        Returns:
        Long containing the Id.