public final class SteamApp extends Object implements Comparable<SteamApp>
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(SteamApp other) |
boolean |
equals(Object obj) |
String |
getAboutTheGame() |
long |
getAppId() |
List<String> |
getCategories()
Returns a list of categories for the application.
|
String |
getDetailedDescription() |
List<String> |
getDevelopers() |
String |
getHeaderImage() |
Integer |
getMetacriticScore() |
String |
getMetacriticUrl() |
String |
getName() |
Price |
getPrice()
Returns pricing information of the application.
|
List<String> |
getPublishers() |
Date |
getReleaseDate() |
int |
getRequiredAge() |
List<String> |
getSupportedLanguages() |
String |
getSupportEmail() |
String |
getSupportUrl() |
String |
getType() |
String |
getWebsite() |
int |
hashCode() |
boolean |
isAvailableForLinux() |
boolean |
isAvailableForMac() |
boolean |
isAvailableForWindows() |
boolean |
isDiscounted()
Convenient check if the game is discounted.
|
boolean |
isDiscountedByAtLeast(int percent)
Convenient check if the game is discounted by at least the given percentage.
|
boolean |
isFreeToPlay()
Convenient check for free to play game.
|
boolean |
isInAnyCategory(String... categories)
Convenient check if the app is in any of the given categories.
|
String |
toString() |
public long getAppId()
public String getType()
public String getName()
public int getRequiredAge()
public String getDetailedDescription()
public String getAboutTheGame()
public String getHeaderImage()
public String getWebsite()
public boolean isAvailableForLinux()
public boolean isAvailableForWindows()
public boolean isAvailableForMac()
public Date getReleaseDate()
public Integer getMetacriticScore()
public String getMetacriticUrl()
public Price getPrice()
Price containing further pricing information. If empty, the application is free.public List<String> getCategories()
String objects containing categories like "single player".public String getSupportUrl()
public String getSupportEmail()
public boolean isFreeToPlay()
public boolean isDiscounted()
public boolean isDiscountedByAtLeast(int percent)
percent - Percentage of the discountpublic boolean isInAnyCategory(String... categories)
categories - Categories to be checkedpublic int compareTo(SteamApp other)
compareTo in interface Comparable<SteamApp>Copyright © 2016. All rights reserved.