AppVersionFetcher
public final class AppVersionFetcher
extends Object
java.lang.Object | |
↳ | com.android.tradefed.util.AppVersionFetcher |
Cihazdan uygulama sürümü dizesini almak için yardımcı program sınıfı.
Dumpsys paket komutunu aygıta gönderin, ardından sonuç dizesini ayrıştırın.
Özet
İç içe geçmiş sınıflar | |
---|---|
enum | AppVersionFetcher.AppVersionInfo Uygulama sürümü bilgi türleri. |
Kamu inşaatçılar | |
---|---|
AppVersionFetcher () |
Herkese açık yöntemler | |
---|---|
static String | fetch (ITestDevice device, String packageName, AppVersionFetcher.AppVersionInfo info) Paket adına göre uygulama sürüm dizesini al. |
Kamu inşaatçılar
AppVersionFetcher
public AppVersionFetcher ()
Herkese açık yöntemler
getirmek
public static String fetch (ITestDevice device, String packageName, AppVersionFetcher.AppVersionInfo info)
Paket adına göre uygulama sürüm dizesini al.
Parametreler | |
---|---|
device | ITestDevice : ITestDevice, cihaz örneği |
packageName | String : Dize, paket adı |
info | AppVersionFetcher.AppVersionInfo : AppVersionInfo, uygulama sürümü bilgi türü |
İadeler | |
---|---|
String | paketin sürüm dizesi |
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 2020-09-08 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"
}]