Class SingleFileInfoCallback
- java.lang.Object
-
- in.dragonbra.javasteam.steam.steamclient.callbackmgr.CallbackMsg
-
- in.dragonbra.javasteam.steam.handlers.steamcloud.callback.SingleFileInfoCallback
-
- All Implemented Interfaces:
ICallbackMsg
public class SingleFileInfoCallback extends CallbackMsg
This callback is received in response to callingSteamCloud.getSingleFileInfo(int, String).
-
-
Constructor Summary
Constructors Constructor Description SingleFileInfoCallback(JobID jobID, in.dragonbra.javasteam.protobufs.steamclient.SteammessagesClientserverUfs.CMsgClientUFSGetSingleFileInfoResponse.Builder msg)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetAppID()java.lang.StringgetFileName()intgetFileSize()EResultgetResult()byte[]getShaHash()java.util.DategetTimestamp()booleanisExplicitDelete()-
Methods inherited from class in.dragonbra.javasteam.steam.steamclient.callbackmgr.CallbackMsg
getJobID, setJobID
-
-
-
-
Constructor Detail
-
SingleFileInfoCallback
public SingleFileInfoCallback(JobID jobID, in.dragonbra.javasteam.protobufs.steamclient.SteammessagesClientserverUfs.CMsgClientUFSGetSingleFileInfoResponse.Builder msg)
-
-
Method Detail
-
getResult
public EResult getResult()
- Returns:
- the result of the request.
-
getAppID
public int getAppID()
- Returns:
- the App ID the file is for.
-
getFileName
public java.lang.String getFileName()
- Returns:
- the file name request.
-
getShaHash
public byte[] getShaHash()
- Returns:
- the SHA hash of the file.
-
getTimestamp
public java.util.Date getTimestamp()
- Returns:
- the timestamp of the file.
-
getFileSize
public int getFileSize()
- Returns:
- the size of the file.
-
isExplicitDelete
public boolean isExplicitDelete()
- Returns:
- if the file was explicitly deleted by the user.
-
-