Package com.example.qrgo.listeners
Interface OnPlayerListLoadedListener
-
public interface OnPlayerListLoadedListener
An interface for listening to the result of the sorted Player functions
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onPlayerListLoaded(java.util.List<BasicPlayerProfile> playerList)
Invoked when the function successfully retrieves a list of players sorted by their highest score.void
onPlayerListLoadFailure(java.lang.Exception e)
Invoked when the function fails to retrieve the list of sorted players.
-
-
-
Method Detail
-
onPlayerListLoaded
void onPlayerListLoaded(java.util.List<BasicPlayerProfile> playerList)
Invoked when the function successfully retrieves a list of players sorted by their highest score.- Parameters:
playerList
- The list of sorted players.
-
onPlayerListLoadFailure
void onPlayerListLoadFailure(java.lang.Exception e)
Invoked when the function fails to retrieve the list of sorted players.- Parameters:
e
- The exception that caused the failure.
-
-