public class SteamScreenshots extends ClientMsgHandler
| Modifier and Type | Field and Description |
|---|---|
static int |
SCREENSHOT_THUMBNAIL_WIDTH
Width of a screenshot thumbnail
|
client| Constructor and Description |
|---|
SteamScreenshots() |
| Modifier and Type | Method and Description |
|---|---|
in.dragonbra.javasteam.types.AsyncJobSingle<ScreenshotAddedCallback> |
addScreenshot(ScreenshotDetails details)
Adds a screenshot to the user's screenshot library.
|
void |
handleMsg(IPacketMsg packetMsg)
Handles a client message.
|
getClient, isExpectDisconnection, setExpectDisconnection, setuppublic static final int SCREENSHOT_THUMBNAIL_WIDTH
public in.dragonbra.javasteam.types.AsyncJobSingle<ScreenshotAddedCallback> addScreenshot(ScreenshotDetails details)
ScreenshotAddedCallback.
The returned AsyncJob can also be awaited to retrieve the callback result.details - The details of the screenshot.ScreenshotAddedCallback.public void handleMsg(IPacketMsg packetMsg)
ClientMsgHandlerhandleMsg in class ClientMsgHandlerpacketMsg - The packet message that contains the data.