static void handle(Context context, AbsContactItem item) { if (item == VERIFY) { SystemMessageActivity.start(context); } else if (item == NORMAL_TEAM) { TeamListActivity.start(context, ItemTypes.TEAMS.NORMAL_TEAM); } else if (item == ADVANCED_TEAM) { TeamListActivity.start(context, ItemTypes.TEAMS.ADVANCED_TEAM); } else if (item == MY_COMPUTER) { SessionHelper.startP2PSession(context, DemoCache.getAccount()); } else if (item == BLACK_LIST) { BlackListActivity.start(context); } }
public void initLocalSurfaceView() { avChatSurface.initSmallSurfaceView(DemoCache.getAccount()); }
/** * 初始化大小图像 * * @param largeAccount 对方的帐号 */ public void initAllSurfaceView(String largeAccount) { avChatSurface.initLargeSurfaceView(largeAccount); avChatSurface.initSmallSurfaceView(DemoCache.getAccount()); }