Package io.appium.java_client.battery
Interface HasBattery<T extends BatteryInfo>
-
- All Superinterfaces:
ExecutesMethod
- All Known Implementing Classes:
AndroidDriver
,IOSDriver
public interface HasBattery<T extends BatteryInfo> extends ExecutesMethod
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
getBatteryInfo()
Retrieves battery info from the device under test.-
Methods inherited from interface io.appium.java_client.ExecutesMethod
execute, execute
-
-
-
-
Method Detail
-
getBatteryInfo
T getBatteryInfo()
Retrieves battery info from the device under test.- Returns:
- BatteryInfo instance, containing the battery information
-
-