Отправить отзыв
BatteryRechargeDeviceRecovery
public
class
BatteryRechargeDeviceRecovery
extends RunConfigDeviceRecovery
Allow to trigger a command when the battery level of the device goes under a given threshold.
Summary
Public methods
boolean
shouldSkip (IManagedTestDevice device)
Extra chance to skip the recovery on a given device by doing extra checks.
Public constructors
BatteryRechargeDeviceRecovery
public BatteryRechargeDeviceRecovery ()
Public methods
shouldSkip
public boolean shouldSkip (IManagedTestDevice device)
Extra chance to skip the recovery on a given device by doing extra checks.
Returns
boolean
True if recovery should be skipped.
Отправить отзыв
Content and code samples on this page are subject to the licenses described in the Content License . Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2020-09-08 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Отсутствует нужная мне информация"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Слишком сложен/слишком много шагов"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Устарел"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"Проблема с переводом текста"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Проблемы образцов/кода"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Другое"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Прост для понимания"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Помог мне решить мою проблему"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Другое"
}]
Хотите рассказать подробнее?