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 java.lang.ObjectUsed to hold information on images within a Rich Presence profile
- 
- 
Constructor SummaryConstructors Constructor Description Image(long applicationId, java.lang.String key, java.lang.String text)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetKey()The key for this image, used forgetUrl()java.lang.StringgetText()Text which is displayed when hovering the image in the official clientjava.lang.StringgetUrl()URL for this image, combination ofRichPresence.getApplicationId()andgetKey()inthashCode()java.lang.StringtoString()
 
- 
- 
- 
Method Detail- 
getKey@Nonnull public java.lang.String getKey() The key for this image, used forgetUrl()- Returns:
- The key for this image
 
 - 
getText@Nullable public java.lang.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 java.lang.String getUrl() URL for this image, combination ofRichPresence.getApplicationId()andgetKey()- Returns:
- URL for this image
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Overrides:
- equalsin class- java.lang.Object
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 
- 
 
-