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
Represents the
Application
of a MessageActivity, if it has been set.-
Constructor Summary
ConstructorDescriptionApplication
(String name, String description, String iconId, String coverId, long id) -
Method Summary
Modifier and TypeMethodDescriptiongetCover()
Returns anImageProxy
for this cover's icon.The cover aka splash id of this Application.The url of the cover image for this application.A short description of this Application.getIcon()
Returns anImageProxy
for this application's icon.The icon id of this Application.The url of the icon image for this application.long
The Snowflake id of this entity.getName()
The name of this 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
-
Constructor Details
-
Application
-
-
Method Details
-
getName
The name of this Application.- Returns:
- the applications name
-
getDescription
A short description of this Application.- Returns:
- the applications description
-
getIconId
The icon id of this Application.- Returns:
- the applications icon id
-
getIconUrl
The url of the icon image for this application.- Returns:
- the url of the icon
-
getIcon
Returns anImageProxy
for this application's icon.- Returns:
- Possibly-null
ImageProxy
of this application's icon - See Also:
-
getCoverId
The cover aka splash id of this Application.- Returns:
- the applications cover image/id
-
getCoverUrl
The url of the cover image for this application.- Returns:
- the url of the cover/splash
-
getCover
Returns anImageProxy
for this cover's icon.- Returns:
- Possibly-null
ImageProxy
of this cover's icon - See Also:
-
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 interfaceISnowflake
- Returns:
- Long containing the Id.
-