Uses of Class
de.jcm.discordgamesdk.user.Relationship
-
Uses of Relationship in de.jcm.discordgamesdk
Modifier and TypeFieldDescriptionstatic final Predicate
<Relationship> RelationshipManager.FRIEND_FILTER
Matches friends (RelationshipType.FRIEND
):static final Predicate
<Relationship> RelationshipManager.NO_FILTER
Matches any relationship.static final Predicate
<Relationship> RelationshipManager.OFFLINE_FILTER
Matches offline (not idle or DND) users (OnlineStatus.OFFLINE
).static final Predicate
<Relationship> RelationshipManager.ONLINE_FILTER
Matches online (not idle or DND) users (OnlineStatus.ONLINE
).Core.CorePrivate.relationships
static final Predicate
<Relationship> RelationshipManager.SPECIAL_FILTER
Matches users that are doing something special (playing, watching, listening, having a custom status, etc.).Modifier and TypeMethodDescriptionRelationshipManager.getAt
(int index) Fetches a relationships at a certain position in the filtered list.RelationshipManager.getWith
(long userId) Fetches the relationship with another user.Modifier and TypeMethodDescriptionRelationshipManager.asList()
Fetches a filtered list of relationships.Modifier and TypeMethodDescriptionvoid
DiscordEventAdapter.onRelationshipUpdate
(Relationship relationship) Fires when information about a relationship (also user, presence, etc.) in the filtered list changes.void
DiscordEventHandler.onRelationshipUpdate
(Relationship relationship) Modifier and TypeMethodDescriptionvoid
RelationshipManager.filter
(Predicate<Relationship> filter) Filters the user's relationship by a certainPredicate
.