Package com.github.copilot.sdk.json
Class SessionCapabilities
java.lang.Object
com.github.copilot.sdk.json.SessionCapabilities
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetUi()Gets the UI-related capabilities.Sets the UI-related capabilities.
-
Constructor Details
-
SessionCapabilities
public SessionCapabilities()
-
-
Method Details
-
getUi
Gets the UI-related capabilities.- Returns:
- the UI capabilities, or
nullif not reported
-
setUi
Sets the UI-related capabilities.- Parameters:
ui- the UI capabilities- Returns:
- this instance for method chaining
-