[master]expand the interface of socket, add sn
This commit is contained in:
@@ -49,7 +49,7 @@ public class SocketHandler {
|
||||
*/
|
||||
public void initSocket(Context context, String appId, double lat, double lon) {
|
||||
mAppId = appId;
|
||||
SocketManager.getInstance().init(context, lat, lon);
|
||||
SocketManager.getInstance().init(context, "", lat, lon);
|
||||
if (MoGoAiCloudClient.getInstance().getAiCloudClientConfig().getNetMode() == HTTP_DNS_ENV_DEMO) {
|
||||
SocketManager.getInstance().registerOnMessageListener(RealTimeConstant.DEMO_FREQUENCY_CHANNEL_ID, onMessageListener);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user