-
public class DeviceUtils
Created by xuxiaowei
-
-
Method Summary
Modifier and Type Method Description static String
getDeviceName()
static String
getOS()
static Array<int>
getDeviceSize(Context context)
获取屏幕的宽高信息 static boolean
isMIUI()
-
-
Method Detail
-
getDeviceName
static String getDeviceName()
-
getDeviceSize
static Array<int> getDeviceSize(Context context)
获取屏幕的宽高信息
- Parameters:
context
- Context
-
isMIUI
static boolean isMIUI()
-
-
-
-