Package net.dv8tion.jda.api.entities
Class MessageActivity.Application
- java.lang.Object
-
- net.dv8tion.jda.api.entities.MessageActivity.Application
-
- All Implemented Interfaces:
ISnowflake
- Enclosing class:
- MessageActivity
public static class MessageActivity.Application extends Object implements ISnowflake
Represents theApplicationof aMessageActivityif it's set.- See Also:
- https://discordapp.com/api/v7/games
-
-
Constructor Summary
Constructors Constructor Description Application(String name, String description, String iconId, String coverId, long id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCoverId()The cover aka splash id of thisMessageActivity.Application.StringgetCoverUrl()The url of the cover image for this application.StringgetDescription()A short description of thisMessageActivity.Application.StringgetIconId()The icon id of thisMessageActivity.Application.StringgetIconUrl()The url of the icon image for this application.longgetIdLong()The Snowflake id of this entity.StringgetName()The name of thisMessageActivity.Application.-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.dv8tion.jda.api.entities.ISnowflake
getId, getTimeCreated
-
-
-
-
Method Detail
-
getName
@Nonnull public String getName()
The name of thisMessageActivity.Application.- Returns:
- the applications name.
-
getDescription
@Nonnull public String getDescription()
A short description of thisMessageActivity.Application.- Returns:
- the applications description.
-
getIconId
@Nullable public String getIconId()
The icon id of thisMessageActivity.Application.- Returns:
- the applications icon id.
-
getIconUrl
@Nullable public String getIconUrl()
The url of the icon image for this application.- Returns:
- the url of the icon
-
getCoverId
@Nullable public String getCoverId()
The cover aka splash id of thisMessageActivity.Application.- Returns:
- the applications cover image/id.
-
getCoverUrl
@Nullable public 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:ISnowflakeThe Snowflake id of this entity. This is unique to every entity and will never change.- Specified by:
getIdLongin interfaceISnowflake- Returns:
- Long containing the Id.
-
-