最新回复 (2)
-
x86 2月前2楼
clientId 是用来标识设备的,野火支持多端同时在线。
/** Platform_UNSET = 0; Platform_iOS = 1; Platform_Android = 2; Platform_Windows = 3; Platform_OSX = 4; Platform_WEB = 5; Platform_WX = 6; Platform_LINUX = 7; Platform_iPad = 8; Platform_APad = 9; */ platform = 0; //设备的在线状态,0是在线,1是有session但不在线,其它不在线。 state = 0; //最后可见 lastSeen = 0;这些都可以从客户端代码看出来
-
matcher 2月前3楼收到 谢谢