Package io.scanbot.sdk.util.device
Class DeviceUtils
-
- All Implemented Interfaces:
public final class DeviceUtils
Util methods for accessing device status
-
-
Field Summary
Fields Modifier and Type Field Description private final Float
batteryLevel
private final Boolean
isDeviceOnCharger
-
Constructor Summary
Constructors Constructor Description DeviceUtils(Context context)
-
Method Summary
Modifier and Type Method Description final Float
getBatteryLevel()
final Boolean
isDeviceOnCharger()
-
-
Constructor Detail
-
DeviceUtils
DeviceUtils(Context context)
-
-
Method Detail
-
getBatteryLevel
final Float getBatteryLevel()
-
isDeviceOnCharger
final Boolean isDeviceOnCharger()
-
-
-
-