IPilBilgisi
public interface IBatteryInfo
com.android.tradefed.device.battery.IBatteryInfo |
Bir cihazın piliyle etkileşimi tanımlayan arayüz.
Özet
iç içe sınıflar | |
---|---|
enum | IBatteryInfo.BatteryState Mevcut pil şarj durumunu açıklar. |
Genel yöntemler | |
---|---|
abstract IBatteryInfo.BatteryState | checkBatteryState ( ITestDevice device) Bir cihaz pilinin mevcut durumunu döndürür. |
abstract void | disableCharging ( ITestDevice device) Bir cihazın pil şarjını devre dışı bırakın. |
abstract void | enableCharging ( ITestDevice device) Bir cihazın pil şarjını etkinleştirin. |
Genel yöntemler
kontrolPilDurumu
public abstract IBatteryInfo.BatteryState checkBatteryState (ITestDevice device)
Bir cihaz pilinin mevcut durumunu döndürür.
parametreler | |
---|---|
device | ITestDevice |
İadeler | |
---|---|
IBatteryInfo.BatteryState |
atar | |
---|---|
DeviceNotAvailableException |
devre dışı bırakŞarj
public abstract void disableCharging (ITestDevice device)
Bir cihazın pil şarjını devre dışı bırakın.
parametreler | |
---|---|
device | ITestDevice |
atar | |
---|---|
DeviceNotAvailableException |
etkinleştirmekŞarj
public abstract void enableCharging (ITestDevice device)
Bir cihazın pil şarjını etkinleştirin.
parametreler | |
---|---|
device | ITestDevice |
atar | |
---|---|
DeviceNotAvailableException |
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 2022-08-15 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"İhtiyacım olan bilgiler yok"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Çok karmaşık / çok fazla adım var"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Güncel değil"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"Çeviri sorunu"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Örnek veya kod sorunu"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Diğer"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Anlaması kolay"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Sorunumu çözdü"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Diğer"
}]