SessionScreenResult class
The result of ClientRuntime.peekSession: the current screen snapshot of a session, captured without attaching to it.
Constructors
- SessionScreenResult({required bool ok, required String message, required Uint8List screen, required bool altScreen})
-
Creates a peek result.
const
Properties
- altScreen → bool
-
Whether the capture ends inside the alternate screen (full-screen program).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
A human-readable result/error message.
final
- ok → bool
-
Whether a session was found, owned by the caller, and captured.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- screen → Uint8List
-
The captured screen bytes — the same a resume would paint (empty on
failure).
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited