merge socket replace code and update aicloud sdk version
This commit is contained in:
@@ -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);
|
||||
|
||||
/**
|
||||
* 注册消息监听
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user