Class DisconnectedCallback

  • All Implemented Interfaces:
    ICallbackMsg

    public class DisconnectedCallback
    extends CallbackMsg
    This callback is received when the steamclient is physically disconnected from the Steam network.
    • Constructor Summary

      Constructors 
      Constructor Description
      DisconnectedCallback​(boolean userInitiated)  
    • Constructor Detail

      • DisconnectedCallback

        public DisconnectedCallback​(boolean userInitiated)
    • Method Detail

      • isUserInitiated

        public boolean isUserInitiated()
        Returns:
        If true, the disconnection was initiated by calling CMClient.disconnect(). If false, the disconnection was the cause of something not user-controlled, such as a network failure or a forcible disconnection by the remote server.