Package net.dv8tion.jda.api.entities
Class RichPresence.Image
java.lang.Object
net.dv8tion.jda.api.entities.RichPresence.Image
- Enclosing interface:
RichPresence
Used to hold information on images within a Rich Presence profile
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Image
-
-
Method Details
-
getKey
The key for this image, used forgetUrl()
- Returns:
- The key for this image
-
getText
Text which is displayed when hovering the image in the official client- Returns:
- Hover text for this image, or
null
-
getUrl
URL for this image, combination ofRichPresence.getApplicationId()
andgetKey()
- Returns:
- URL for this image
-
toString
-
equals
-
hashCode
public int hashCode()
-