Class SessionCanvasUnavailableEvent
java.lang.Object
com.github.copilot.generated.SessionEvent
com.github.copilot.generated.SessionCanvasUnavailableEvent
@Generated("copilot-sdk-codegen")
public final class SessionCanvasUnavailableEvent
extends SessionEvent
Session event "session.canvas.unavailable". Transient signal that an open canvas instance's provider has dropped (for example the extension is reloading mid-session). The host should keep the panel mounted and surface a reconnecting affordance rather than tearing it down; a subsequent `session.canvas.opened` for the same instanceId clears the affordance once the provider reconnects with a fresh url. Ephemeral and never persisted, so it is never replayed on cold resume.
- Since:
- 1.0.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordData payload forSessionCanvasUnavailableEvent. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class SessionEvent
getEphemeral, getId, getParentId, getTimestamp, setEphemeral, setId, setParentId, setTimestamp
-
Constructor Details
-
SessionCanvasUnavailableEvent
public SessionCanvasUnavailableEvent()
-
-
Method Details
-
getType
Description copied from class:SessionEventReturns the event-type discriminator string (e.g.,"session.idle").- Specified by:
getTypein classSessionEvent- Returns:
- the event type
-
getData
-