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
ConstructorsConstructorDescriptionApplication(String name, String description, String iconId, String coverId, long id) -
Method Summary
Modifier and TypeMethodDescriptiongetCover()Returns anImageProxyfor 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 anImageProxyfor this application's icon.The icon id of this Application.The url of the icon image for this application.longThe 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, waitMethods 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 anImageProxyfor this application's icon.- Returns:
- Possibly-null
ImageProxyof 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 anImageProxyfor this cover's icon.- Returns:
- Possibly-null
ImageProxyof this cover's icon - See Also:
-
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.
-