public interface PresenceActivity
Modifier and Type | Interface and Description |
---|---|
static class |
PresenceActivity.Type |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Gets the description of a presence activity.
|
long |
getNativePointer()
Gets the native pointer used by this class to make native method calls.
|
PresenceActivity.Type |
getType()
Gets the activity type of a presence activity.
|
java.lang.Object |
getUserData()
Gets the object stored in this object user's data
|
int |
setDescription(java.lang.String description)
Sets the description of a presence activity.
|
int |
setType(PresenceActivity.Type acttype)
Sets the type of activity of a presence activity.
|
void |
setUserData(java.lang.Object data)
Sets the object to store in this object user's data
|
java.lang.String |
toString()
Gets the string representation of a presence activity.
|
@Nullable java.lang.String getDescription()
int setDescription(@Nullable java.lang.String description)
description
- An additional description of the activity. Can be null if noPresenceActivity.Type getType()
PresenceActivity.Type
of the activity. int setType(PresenceActivity.Type acttype)
acttype
- The PresenceActivity.Type
to set for the activity. @NonNull java.lang.String toString()
toString
in class java.lang.Object
void setUserData(java.lang.Object data)
data
- the object to storejava.lang.Object getUserData()
long getNativePointer()