Class Platform


  • public class Platform
    extends IdentifiableNamedResource
    A platform which a game can be run on.
    For example: PC, Xbox 360, Game Boy Advance, Amazon Fire TV, and so on.

    This class is immutable and thread-safe.
    • Method Detail

      • getGames

        public GamesRequest getGames()
        Gets a new GamesRequest builder object to request all games that are on this platform.
        Returns:
        a GamesRequest builder
      • getRuns

        public RunsRequest getRuns()
        Gets a new RunsRequest builder object to request all runs that are on this platform.
        Returns:
        a RunsRequest builder
      • getReleaseYear

        public int getReleaseYear()
        Gets the year that this platform was released.
        Returns:
        release year