Class SocialSpyManager
java.lang.Object
com.zetaplugins.essentialz.features.SocialSpyManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAllSpyingViewers(UUID... targetUUIDs) Get all viewers spying on any of the specified targets.booleantoggleSpyOn(UUID viewerUUID, UUID targetUUID) Toggle spying status for a viewer on a target.voidturnOffAllSpying(UUID viewerUUID) Turn off all spying for a viewer.
-
Constructor Details
-
SocialSpyManager
public SocialSpyManager()
-
-
Method Details
-
getAllSpyingViewers
Get all viewers spying on any of the specified targets.- Parameters:
targetUUIDs- The UUIDs of the targets.- Returns:
- A list of viewer UUIDs spying on any of the targets.
-
toggleSpyOn
Toggle spying status for a viewer on a target.- Parameters:
viewerUUID- The UUID of the viewer.targetUUID- The UUID of the target.- Returns:
- True if now spying, false if no longer spying.
-
turnOffAllSpying
Turn off all spying for a viewer.- Parameters:
viewerUUID- The UUID of the viewer.
-