Package de.jcm.discordgamesdk.user
Class Presence
java.lang.Object
de.jcm.discordgamesdk.user.Presence
Representation of a user's current presence (usually provided with a
Relationship
).- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the current Activity of the user.Gets the online/Discord status of the user.toString()
Generates a string representation of the presence containing all its attributes.
-
Constructor Details
-
Presence
-
-
Method Details
-
getStatus
Gets the online/Discord status of the user.- Returns:
- An OnlineStatus
-
getActivity
Gets the current Activity of the user.- Returns:
- An Activity
-
toString
Generates a string representation of the presence containing all its attributes.
This is just one of IntelliJ IDEA's default
toString()
-Methods, so don't expect anything special.
-