XWindow class abstract interface

Host-window state primitive: focused state plus the keepAwake screen hold. Future window-level state — minimized, occluded, screen — can land alongside them without disturbing call sites.

Implementers

Properties

focused → ValueListenable<bool>
true when this app currently has user focus.
no setter
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

keepAwake(bool enabled) → Future<void>
Holds the screen awake while enabled, for a call or another session the user watches without touching the device. Idempotent.
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

Static Properties

instance → XWindow
The process-wide platform window.
final