public class RichPresence.Image
extends java.lang.Object
Constructor | Description |
---|---|
Image(java.lang.String key,
java.lang.String text) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(java.lang.Object obj) |
|
java.lang.String |
getKey() |
The key for this image, used for
getUrl() |
java.lang.String |
getText() |
Text which is displayed when hovering the image in the official client
|
java.lang.String |
getUrl() |
URL for this image, combination of
RichPresence.getApplicationId() and getKey() |
int |
hashCode() |
|
java.lang.String |
toString() |
@Nonnull public java.lang.String getKey()
getUrl()
@Nullable public java.lang.String getText()
null
@Nonnull public java.lang.String getUrl()
RichPresence.getApplicationId()
and getKey()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object