Interface OnPlayerListLoadedListener


  • public interface OnPlayerListLoadedListener
    An interface for listening to the result of the sorted Player functions
    • 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.