merge socket replace code and update aicloud sdk version

This commit is contained in:
zhongchao
2022-03-23 21:12:27 +08:00
parent b280481882
commit f5edb94684
7 changed files with 35 additions and 28 deletions

View File

@@ -19,7 +19,7 @@ public interface IMogoSocketManager extends IProvider {
* @param context 上下文
* @param appId 一般为包名,不参与通道的建立,一般用于发消息
*/
void init( Context context, String appId );
void init( Context context, String appId , double lat, double lon);
/**
* 注册消息监听

View File

@@ -26,9 +26,9 @@ public class MogoSocketManager implements IMogoSocketManager {
private IMogoSocketManager mDelegate;
@Override
public void init(Context context, String appId) {
public void init(Context context, String appId, double lat, double lon) {
if (mDelegate != null) {
mDelegate.init(context, appId);
mDelegate.init(context, appId, lat, lon);
}
}