FlutterAndroidClient class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
connect({Duration? timeout, bool debug = false})
→ Future<bool>
-
Connects to the device.
-
disconnect({bool debug = false})
→ Future<ProcessResult>
-
Disconnects the device.
-
getWakefulness({bool debug = false})
→ Future<Wakefulness?>
-
-
install({required String apkPath, AdbInstallOptions? installOptions, bool debug = false})
→ Future<void>
-
Installs an APK on the device.
-
isAwake({bool debug = false})
→ Future<bool>
-
-
isConnected({bool debug = false})
→ Future<bool>
-
Checks if the device is connected.
-
isRooted({bool debug = false})
→ Future<bool>
-
Checks if the connection with the device is rooted.
-
logcat(LogcatOptions options, {bool debug = false})
→ Future<ProcessResult>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
pull({required String src, required String dst, bool debug = false})
→ Future<void>
-
Pulls a file from the device to the host.
-
push({required String src, required String dst, bool debug = false})
→ Future<void>
-
Pushes a file from the host to the device.
-
reboot({RebootType? rebootType, bool debug = false})
→ Future<void>
-
Reboots the device.
-
root({bool debug = false})
→ Future<void>
-
Roots the connection with the device.
-
shell()
→ FlutterAndroidShell
-
-
toString()
→ String
-
A string representation of this object.
inherited
-
uninstall({required String packageName, AdbUninstallOptions? options, bool debug = false})
→ Future<void>
-
Uninstalls an APK from the device.
-
unroot({bool debug = false})
→ Future<void>
-
Unroots the connection with the device.
-
waitForDevice({Duration? timeout, bool debug = false})
→ Future<void>
-
Waits for the device to be connected.