public class OSUtils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ROM_EMUI |
static java.lang.String |
ROM_FLYME |
static java.lang.String |
ROM_MIUI |
static java.lang.String |
ROM_OPPO |
static java.lang.String |
ROM_QIKU |
static java.lang.String |
ROM_SMARTISAN |
static java.lang.String |
ROM_VIVO |
Constructor and Description |
---|
OSUtils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
check(java.lang.String rom) |
static java.lang.String |
getName() |
static java.lang.String |
getProp(java.lang.String name) |
static java.lang.String |
getVersion() |
static boolean |
is360() |
static boolean |
isEmui() |
static boolean |
isFlyme() |
static boolean |
isMiui() |
static boolean |
isOppo() |
static boolean |
isSmartisan() |
static boolean |
isVivo() |
public static final java.lang.String ROM_MIUI
public static final java.lang.String ROM_EMUI
public static final java.lang.String ROM_FLYME
public static final java.lang.String ROM_OPPO
public static final java.lang.String ROM_SMARTISAN
public static final java.lang.String ROM_VIVO
public static final java.lang.String ROM_QIKU
public static boolean isEmui()
public static boolean isMiui()
public static boolean isVivo()
public static boolean isOppo()
public static boolean isFlyme()
public static boolean is360()
public static boolean isSmartisan()
public static java.lang.String getName()
public static java.lang.String getVersion()
public static boolean check(java.lang.String rom)
public static java.lang.String getProp(java.lang.String name)