Class ZegoMEMUtils
- java.lang.Object
-
- com.zego.zegoavkit2.hardwaremonitor.ZegoMEMUtils
-
public class ZegoMEMUtils extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ZegoMEMUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static double
getAppUsedMemory(android.content.Context context, int pid)
获取 app 使用的内存,单位 MBstatic double
getTotalMemory(android.content.Context context)
获取内存总量,单位 MBstatic double
getUsedMemory(android.content.Context context)
获取已使用的内存总量,单位 MB
-
-
-
Method Detail
-
getTotalMemory
public static double getTotalMemory(android.content.Context context)
获取内存总量,单位 MB
-
getUsedMemory
public static double getUsedMemory(android.content.Context context)
获取已使用的内存总量,单位 MB
-
getAppUsedMemory
public static double getAppUsedMemory(android.content.Context context, int pid)
获取 app 使用的内存,单位 MB
-
-