AppProcessProbe class

Finds out whether an app's process still runs and why it ended, from the host's side of the device.

Constructors

AppProcessProbe({ProcessRunner run = boundedRun, SimControl sim = const SimControl()})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
run → ProcessRunner
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sim → SimControl
final

Methods

check(DeviceTarget device, {required String? appId, DateTime? since, int? pid}) → Future<AppProcessVerdict>
The verdict for appId; since and pid keep a simulator's host log to this process's own lines. Unknown when the device is slower than limit.
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 Methods

readableReason(String line) → String
A short reason out of a SpringBoard exit line (code:force-quit(0x..)), a host line or a runningboardd line.

Constants

limit → const Duration