public class AppFrontBackHelper
extends java.lang.Object
构造器和说明 |
---|
AppFrontBackHelper() |
限定符和类型 | 方法和说明 |
---|---|
java.util.List<android.app.Activity> |
getActivityList() |
static AppFrontBackHelper |
getInstance() |
void |
register(android.app.Application application,
OnAppStatusListener listener)
注册状态监听,仅在Application中使用
|
void |
setActivityList(java.util.List<android.app.Activity> mActivityList) |
void |
unRegister(android.app.Application application) |
public static AppFrontBackHelper getInstance()
public void register(android.app.Application application, OnAppStatusListener listener)
application
- listener
- public void unRegister(android.app.Application application)
public java.util.List<android.app.Activity> getActivityList()
public void setActivityList(java.util.List<android.app.Activity> mActivityList)