startAdb method
Future<PrivServerInfo>
startAdb({
- PrivAdbConnectionOptions? options,
- int? timeoutMillis,
- String? adbDeviceName,
- String? operationId,
override
Starts the Privileged Server through ADB.
When options carries a non-null port, the static TCP/IP port is used and
the Wireless Debugging connect port is not discovered.
Implementation
@override
Future<PrivServerInfo> startAdb({
PrivAdbConnectionOptions? options,
int? timeoutMillis,
String? adbDeviceName,
String? operationId,
}) async => PrivServerInfo.fromMap(
await _requireMap('startAdb', <String, Object?>{
'options': options?.toMap(),
'timeoutMillis': timeoutMillis,
'adbDeviceName': adbDeviceName,
'operationId': operationId,
}),
);