Class SessionCapabilities

java.lang.Object
com.github.copilot.sdk.json.SessionCapabilities

public class SessionCapabilities extends Object
Represents the capabilities reported by the host for a session.

Capabilities are populated from the session create/resume response and updated in real time via capabilities.changed events.

Since:
1.0.0
  • Constructor Details

    • SessionCapabilities

      public SessionCapabilities()
  • Method Details

    • getUi

      public SessionUiCapabilities getUi()
      Gets the UI-related capabilities.
      Returns:
      the UI capabilities, or null if not reported
    • setUi

      Sets the UI-related capabilities.
      Parameters:
      ui - the UI capabilities
      Returns:
      this instance for method chaining