Interface Invite.EmbeddedApplication
- All Superinterfaces:
ISnowflake
- Enclosing interface:
Invite
POJO for the target application information provided by an invite.
- Author:
- Aljoscha Grebe
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionThe description of this application.default ImageProxygetIcon()Returns anImageProxyfor this application invite's icon.default ImageProxygetIcon(ImageFormat format) Returns anImageProxyfor this application invite's icon.The icon id of this application ornullif the application has no icon.The icon url of this application ornullif the application has no icon.default StringgetIconUrl(ImageFormat format) The icon url of this application ornullif the application has no icon.intThe max participant count of this application or-1if no max participant count is setgetName()The name of this application.The summary of this application ornullif this application has no summary.Methods inherited from interface ISnowflake
getId, getIdLong, getTimeCreated
-
Method Details
-
getName
-
getDescription
The description of this application.- Returns:
- The description of this application.
-
getSummary
The summary of this application ornullif this application has no summary.- Returns:
- The summary of this application.
-
getIconId
The icon id of this application ornullif the application has no icon.- Returns:
- The application's icon id
- See Also:
-
getIconUrl
The icon url of this application ornullif the application has no icon.- Returns:
- The application's icon url
- See Also:
-
getIconUrl
The icon url of this application ornullif the application has no icon.- Parameters:
format- The format in which the image should be- Returns:
- The application's icon url
- Throws:
IllegalArgumentException- If the format isnull- See Also:
-
getIcon
Returns anImageProxyfor this application invite's icon.- Returns:
- Possibly-null
ImageProxyof this application invite's icon - See Also:
-
getIcon
Returns anImageProxyfor this application invite's icon.- Parameters:
format- The format in which the image should be- Returns:
- Possibly-null
ImageProxyof this application invite's icon - Throws:
IllegalArgumentException- If the format isnull- See Also:
-
getMaxParticipants
int getMaxParticipants()The max participant count of this application or-1if no max participant count is set- Returns:
-1if this application does not have a max participant count
-