protected static interface BaseEmulatorHelper.EmulatorRunner
Modifier and Type | Method and Description |
---|---|
Process |
getProcess()
Returns the process associated to the emulator, if any.
|
boolean |
isAvailable()
Returns
true if the emulator associated to this runner is available and can be
started. |
void |
start()
Starts the emulator associated to this runner.
|
int |
waitFor(org.threeten.bp.Duration timeout)
Wait for the emulator associated to this runner to terminate, returning the exit status.
|
boolean isAvailable()
true
if the emulator associated to this runner is available and can be
started.void start() throws IOException
IOException
int waitFor(org.threeten.bp.Duration timeout) throws InterruptedException, TimeoutException
InterruptedException
TimeoutException
Process getProcess()
Copyright © 2019 Google LLC. All rights reserved.