AvdData
public
class
AvdData
extends Object
| java.lang.Object | |
| ↳ | com.android.ddmlib.AvdData |
Avd data returned from [IDevice.getAvdData].
Summary
Public constructors | |
|---|---|
AvdData(String name, Path nioPath)
|
|
Public methods | |
|---|---|
boolean
|
equals(Object object)
|
String
|
getName()
The name of the AVD or null if unavailable or this is a physical device. |
Path
|
getNioPath()
Returns the absolute path to the virtual device in the file system or null if the emulator console subcommand failed |
String
|
getPath()
This method is deprecated.
Use |
int
|
hashCode()
|
Public constructors
AvdData
public AvdData (String name,
Path nioPath)| Parameters | |
|---|---|
name |
String |
nioPath |
Path |
Public methods
equals
public boolean equals (Object object)
| Parameters | |
|---|---|
object |
Object |
| Returns | |
|---|---|
boolean |
|
getName
public String getName ()
The name of the AVD or null if unavailable or this is a physical device.
| Returns | |
|---|---|
String |
|
getNioPath
public Path getNioPath ()
Returns the absolute path to the virtual device in the file system or null if the emulator console subcommand failed
| Returns | |
|---|---|
Path |
|
getPath
public String getPath ()
This method is deprecated.
Use getNioPath()
The path of the AVD or null if unavailable or this is a physical device.
The path is the absolute path to the virtual device in the file system. The path is operating system dependent; it will have / name separators on Linux and \ separators on Windows.
| Returns | |
|---|---|
String |
|
hashCode
public int hashCode ()
| Returns | |
|---|---|
int |
|