Interface IAndroidDevice
- All Superinterfaces:
IMobileDevice
- All Known Implementing Classes:
AndroidDevice
Specific
IMobileDevice
extension for Android mobile OS. Can be one of:
- Real device, connected by USB with ADB (then
getDevice()
will not returnnull
- Virtual device (can be connected or not connected with ADB)
-
Method Summary
Modifier and TypeMethodDescriptioncom.android.ddmlib.IDevice
Returns underlying ADB Device handle.com.android.sdklib.internal.avd.AvdInfo
Returns underlying virtual device.boolean
Returns whether this Android device is already launched.Methods inherited from interface com._1c.g5.v8.dt.platform.services.mobile.IMobileDevice
getName, getOs, isEmulator
-
Method Details
-
getVirtualDevice
com.android.sdklib.internal.avd.AvdInfo getVirtualDevice()Returns underlying virtual device. Can returnnull
if this device is not virtual.- Returns:
- underlying virtual device or
null
if this device is not virtual
-
getDevice
com.android.ddmlib.IDevice getDevice()Returns underlying ADB Device handle. Can returnnull
if not connected with ABD yet.- Returns:
- underlying virtual device or
null
if not connected with ABD yet.
-
isLaunched
boolean isLaunched()Returns whether this Android device is already launched.- Returns:
- whether this Android device is already launched
-