Class FreeLicenseCallback
- java.lang.Object
-
- in.dragonbra.javasteam.steam.steamclient.callbackmgr.CallbackMsg
-
- in.dragonbra.javasteam.steam.handlers.steamapps.callback.FreeLicenseCallback
-
- All Implemented Interfaces:
ICallbackMsg
public class FreeLicenseCallback extends CallbackMsg
This callback is received in response to callingSteamApps.requestFreeLicense(int), informing the client of newly granted packages, if any.
-
-
Constructor Summary
Constructors Constructor Description FreeLicenseCallback(JobID jobID, in.dragonbra.javasteam.protobufs.steamclient.SteammessagesClientserver2.CMsgClientRequestFreeLicenseResponse.Builder msg)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.Integer>getGrantedApps()java.util.List<java.lang.Integer>getGrantedPackages()EResultgetResult()-
Methods inherited from class in.dragonbra.javasteam.steam.steamclient.callbackmgr.CallbackMsg
getJobID, setJobID
-
-
-
-
Constructor Detail
-
FreeLicenseCallback
public FreeLicenseCallback(JobID jobID, in.dragonbra.javasteam.protobufs.steamclient.SteammessagesClientserver2.CMsgClientRequestFreeLicenseResponse.Builder msg)
-
-
Method Detail
-
getResult
public EResult getResult()
- Returns:
- the result of the message.
-
getGrantedApps
public java.util.List<java.lang.Integer> getGrantedApps()
- Returns:
- the list of granted apps.
-
getGrantedPackages
public java.util.List<java.lang.Integer> getGrantedPackages()
- Returns:
- the list of granted packages.
-
-