Interface IAndroidDevice
-
- All Superinterfaces:
IMobileDevice
public interface IAndroidDevice extends IMobileDevice
SpecificIMobileDevice
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.android.ddmlib.IDevice
getDevice()
Returns underlying ADB Device handle.com.android.sdklib.internal.avd.AvdInfo
getVirtualDevice()
Returns underlying virtual device.boolean
isLaunched()
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 Detail
-
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
-
-