Uses of Class
de.jcm.discordgamesdk.user.Relationship
Packages that use Relationship
-
Uses of Relationship in de.jcm.discordgamesdk
Fields in de.jcm.discordgamesdk with type parameters of type RelationshipModifier and TypeFieldDescriptionstatic final Predicate<Relationship> RelationshipManager.FRIEND_FILTERMatches friends (RelationshipType.FRIEND):static final Predicate<Relationship> RelationshipManager.NO_FILTERMatches any relationship.static final Predicate<Relationship> RelationshipManager.OFFLINE_FILTERMatches offline (not idle or DND) users (OnlineStatus.OFFLINE).static final Predicate<Relationship> RelationshipManager.ONLINE_FILTERMatches online (not idle or DND) users (OnlineStatus.ONLINE).Core.CorePrivate.relationshipsstatic final Predicate<Relationship> RelationshipManager.SPECIAL_FILTERMatches users that are doing something special (playing, watching, listening, having a custom status, etc.).Methods in de.jcm.discordgamesdk that return RelationshipModifier 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.Methods in de.jcm.discordgamesdk that return types with arguments of type RelationshipModifier and TypeMethodDescriptionRelationshipManager.asList()Fetches a filtered list of relationships.Methods in de.jcm.discordgamesdk with parameters of type RelationshipModifier and TypeMethodDescriptionvoidDiscordEventAdapter.onRelationshipUpdate(Relationship relationship) Fires when information about a relationship (also user, presence, etc.) in the filtered list changes.voidDiscordEventHandler.onRelationshipUpdate(Relationship relationship) Method parameters in de.jcm.discordgamesdk with type arguments of type RelationshipModifier and TypeMethodDescriptionvoidRelationshipManager.filter(Predicate<Relationship> filter) Filters the user's relationship by a certainPredicate.