Class PICSProductInfo
- java.lang.Object
-
- in.dragonbra.javasteam.steam.steamclient.callbackmgr.CallbackMsg
-
- in.dragonbra.javasteam.steam.handlers.steamapps.PICSProductInfo
-
- All Implemented Interfaces:
ICallbackMsg
public class PICSProductInfo extends CallbackMsg
Represents the information for a single app or package
-
-
Constructor Summary
Constructors Constructor Description PICSProductInfo(in.dragonbra.javasteam.protobufs.steamclient.SteammessagesClientserverAppinfo.CMsgClientPICSProductInfoResponse.Builder parentResponse, in.dragonbra.javasteam.protobufs.steamclient.SteammessagesClientserverAppinfo.CMsgClientPICSProductInfoResponse.AppInfo appInfo)PICSProductInfo(in.dragonbra.javasteam.protobufs.steamclient.SteammessagesClientserverAppinfo.CMsgClientPICSProductInfoResponse.PackageInfo packageInfo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetChangeNumber()java.net.URIgetHttpUri()intgetId()KeyValuegetKeyValues()byte[]getShaHash()booleanisMissingToken()booleanisOnlyPublic()booleanisUseHttp()-
Methods inherited from class in.dragonbra.javasteam.steam.steamclient.callbackmgr.CallbackMsg
getJobID, setJobID
-
-
-
-
Constructor Detail
-
PICSProductInfo
public PICSProductInfo(in.dragonbra.javasteam.protobufs.steamclient.SteammessagesClientserverAppinfo.CMsgClientPICSProductInfoResponse.Builder parentResponse, in.dragonbra.javasteam.protobufs.steamclient.SteammessagesClientserverAppinfo.CMsgClientPICSProductInfoResponse.AppInfo appInfo)
-
PICSProductInfo
public PICSProductInfo(in.dragonbra.javasteam.protobufs.steamclient.SteammessagesClientserverAppinfo.CMsgClientPICSProductInfoResponse.PackageInfo packageInfo)
-
-
Method Detail
-
getId
public int getId()
- Returns:
- the ID of the app or package.
-
getChangeNumber
public int getChangeNumber()
- Returns:
- the current change number for the app or package.
-
isMissingToken
public boolean isMissingToken()
- Returns:
- if an access token was required for the request.
-
getShaHash
public byte[] getShaHash()
- Returns:
- the hash of the content.
-
getKeyValues
public KeyValue getKeyValues()
- Returns:
- the KeyValue info.
-
isOnlyPublic
public boolean isOnlyPublic()
- Returns:
- for an app request, returns if only the public information was requested.
-
isUseHttp
public boolean isUseHttp()
- Returns:
- whether or not to use HTTP to load the KeyValues data.
-
getHttpUri
public java.net.URI getHttpUri()
- Returns:
- for an app metadata-only request, returns the Uri for HTTP appinfo requests.
-
-