Interface NotesApi
public interface NotesApi
Manages notes attached to Plex players.
-
Method Summary
Modifier and TypeMethodDescriptionAdds a note to a player.Removes every note from a player.Returns a player's notes in ID order.Removes a note from a player.
-
Method Details
-
list
Returns a player's notes in ID order.- Parameters:
player- player UUID- Returns:
- future containing the player's notes
-
add
Adds a note to a player.- Parameters:
player- player UUIDcontent- note contentauthor- author UUID, ornullfor console- Returns:
- future completed after the note is stored
-
remove
Removes a note from a player.- Parameters:
player- player UUIDid- player-local note ID- Returns:
- future containing whether the note existed
-
clear
Removes every note from a player.- Parameters:
player- player UUID- Returns:
- future containing the number of removed notes
-