UnsupportedIdleSource class

The source used on platforms this package has no FFI binding for.

Reaching it is not a bug — it is how a Linux or web host is told, in a message that names the offending platform, that desktop inactivity detection is unavailable here.

Inheritance

Constructors

UnsupportedIdleSource(String operatingSystem)
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
isSupported → bool
Whether this source can actually read the OS on the current platform.
no setteroverride
name → String
Human-readable identifier, e.g. windows/GetLastInputInfo. Shown in the example's parity screen and used to label parity-test failures, so it must identify which binding a failure came from.
no setteroverride
operatingSystem → String
The Platform.operatingSystem value that resolved to this source.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

idleMilliseconds() → int
The Idle duration in milliseconds.
override
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