Class SteamScreenshots


  • public class SteamScreenshots
    extends ClientMsgHandler
    This handler is used for screenshots.
    • Field Detail

      • SCREENSHOT_THUMBNAIL_WIDTH

        public static final int SCREENSHOT_THUMBNAIL_WIDTH
        Width of a screenshot thumbnail
        See Also:
        Constant Field Values
    • Constructor Detail

      • SteamScreenshots

        public SteamScreenshots()
    • Method Detail

      • addScreenshot

        public JobID addScreenshot​(ScreenshotDetails details)
        Adds a screenshot to the user's screenshot library. The screenshot image and thumbnail must already exist on the UFS. Results are returned in a ScreenshotAddedCallback.
        Parameters:
        details - The details of the screenshot.
        Returns:
        The Job ID of the request. This can be used to find the appropriate ScreenshotAddedCallback.
      • handleMsg

        public void handleMsg​(IPacketMsg packetMsg)
        Description copied from class: ClientMsgHandler
        Handles a client message. This should not be called directly.
        Specified by:
        handleMsg in class ClientMsgHandler
        Parameters:
        packetMsg - The packet message that contains the data.