Package net.dv8tion.jda.api.entities
Class RichPresence.Image
- java.lang.Object
-
- net.dv8tion.jda.api.entities.RichPresence.Image
-
- Enclosing interface:
- RichPresence
public static class RichPresence.Image extends Object
Used to hold information on images within a Rich Presence profile
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getKey()
The key for this image, used forgetUrl()
String
getText()
Text which is displayed when hovering the image in the official clientString
getUrl()
URL for this image, combination ofRichPresence.getApplicationId()
andgetKey()
int
hashCode()
String
toString()
-
-
-
Method Detail
-
getKey
@Nonnull public String getKey()
The key for this image, used forgetUrl()
- Returns:
- The key for this image
-
getText
@Nullable public String getText()
Text which is displayed when hovering the image in the official client- Returns:
- Hover text for this image, or
null
-
getUrl
@Nonnull public String getUrl()
URL for this image, combination ofRichPresence.getApplicationId()
andgetKey()
- Returns:
- URL for this image
-
-