public interface ICore
限定符和类型 | 接口和说明 |
---|---|
static interface |
ICore.ICoreEvent |
static interface |
ICore.ICoreStatusListener
core状态监听器
|
限定符和类型 | 方法和说明 |
---|---|
java.lang.Object |
dispatchEvent(IMgr.MgrType pMgrType,
int pEventId,
java.lang.Object pArgs)
分发IMgr的事件,对应的IMgr处理。
|
boolean |
isStreamAppMode() |
Context |
obtainContext()
获取上下文句柄
|
boolean |
onActivityExecute(Activity pActivity,
ISysEventListener.SysEventType pEventType,
java.lang.Object pArgs) |
void |
setIsStreamAppMode(boolean streamAppMode) |
java.lang.Object dispatchEvent(IMgr.MgrType pMgrType, int pEventId, java.lang.Object pArgs)
pMgrType
- 要执行事件处于的IMgr的id。pEventId
- 要执行事件的idpArgs
- 执行事件时,需要的参数Context obtainContext()
boolean isStreamAppMode()
void setIsStreamAppMode(boolean streamAppMode)
boolean onActivityExecute(Activity pActivity, ISysEventListener.SysEventType pEventType, java.lang.Object pArgs)