FlutterAndroidShell class

Constructors

FlutterAndroidShell({required FlutterAndroidBridge bridge, required Connection connection})

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

am() FlutterAndroidActivityManager
cat(String path, {bool debug = false}) Future<ProcessResult>
checkAvbctl({bool debug = false}) Future<void>
clearProp(String key, {bool debug = false}) Future<void>
command(String command, {bool debug = false}) Future<String>
deleteSetting(SettingsType type, {required String key, bool debug = false}) Future<void>
disableVerity({bool debug = false}) Future<void>
enableVerity({bool debug = false}) Future<void>
exec(List<String> command, {bool debug = false}) Future<ProcessResult>
exists(String path, {bool debug = false}) Future<bool>
getEnforce({bool debug = false}) Future<SELinuxType>
getProp(String key, {bool debug = false}) Future<String>
getProps({bool debug = false}) Future<Map<String, String>>
getPropType(String key, {bool debug = false}) Future<PropType>
getPropTypes({bool debug = false}) Future<Map<String, PropType>>
getSetting(SettingsType type, {required String key, bool debug = false}) Future<String>
getVerityStatus({bool debug = false}) Future<bool>
hasAvbctl({bool debug = false}) Future<bool>
isDirectory(String path, {bool debug = false}) Future<bool>
isFile(String path, {bool debug = false}) Future<bool>
isScreenOn({bool debug = false}) Future<bool>
listSettings(SettingsType type, {bool debug = false}) Future<Properties>
mount(String path, {bool debug = false}) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pm() FlutterAndroidPackageManager
putSetting(SettingsType type, {required String key, required String value, bool debug = false}) Future<void>
rm(String path, {List<String> args = const [], bool debug = false}) Future<void>
screencap(String path, {bool debug = false}) Future<ProcessResult>
screenMirror({required ReceivePort answer, ScreenRecordOptions recordingOptions = const ScreenRecordOptions(), FFPlayOptions playOptions = const FFPlayOptions()}) Future<SendPort>
Start screen recording answer - ReceivePort to listen for the response recordingOptions - ScreenRecordOptions playOptions - FFPlayOptions Returns SendPort to control the screen recording
sendDragAndDrop({InputSource? inputSource, Duration? duration, required Point<int> start, required Point<int> end, bool debug = false}) Future<void>
sendEvent({required String event, required int codeType, required int code, required int value, bool debug = false}) Future<void>
sendKeyCode(int keyCode, {KeyEventType? type, InputSource? inputSource, bool debug = false}) Future<ProcessResult>
sendKeyCodes(List<int> keycodes, {InputSource? inputSource, bool debug = false}) Future<void>
sendKeyEvent(KeyCode keyCode, {KeyEventType? type, InputSource? inputSource, bool debug = false}) Future<ProcessResult>
sendKeyEvents(List<KeyCode> events, {InputSource? inputSource, bool debug = false}) Future<void>
sendMotion(MotionEvent motion, {required Point<int> pos, InputSource? inputSource, bool debug = false}) Future<void>
sendPress({InputSource? inputSource, bool debug = false}) Future<void>
sendSwipe({InputSource? inputSource, Duration? duration, required Point<int> start, required Point<int> end, bool debug = false}) Future<void>
sendTap(Point<int> pos, {InputSource? inputSource, bool debug = false}) Future<void>
sendText(String text, {InputSource? inputSource, bool debug = false}) Future<void>
setEnforce(SELinuxType type, {bool debug = false}) Future<void>
setProp(String key, String value, {bool debug = false}) Future<void>
testFile(String path, String mode, {bool debug = false}) Future<bool>
toString() String
A string representation of this object.
inherited
unmount(String path, {bool debug = false}) Future<void>
which(String command, {bool debug = false}) Future<String>

Operators

operator ==(Object other) bool
The equality operator.
inherited