更换sn
This commit is contained in:
@@ -53,7 +53,7 @@ public class MoGoApplication extends MultiDexApplication {
|
||||
// 设置AI云平台分配给三方应用的签名密钥,需要从AI云平台申请
|
||||
// 设置车机设备的唯一标识(这些表识必须是通过后台录入的设备)
|
||||
// TODO 这里使用的是测试的sn
|
||||
clientConfig.setThirdPartyDeviceId("test-sn-abcd-1234");
|
||||
clientConfig.setThirdPartyDeviceId("1234567892");
|
||||
// 设置应用服务AppId 长链、鉴权 //todo 需要卸载智慧驾驶、行车记录仪
|
||||
clientConfig.setServiceAppId("com.mogo.launcher");
|
||||
// 设置循环检测间隔时间
|
||||
|
||||
@@ -5,6 +5,7 @@ import android.support.annotation.Nullable;
|
||||
import android.support.v7.app.AppCompatActivity;
|
||||
import android.widget.Button;
|
||||
|
||||
import com.mogo.cloud.passport.MoGoAiCloudClientConfig;
|
||||
import com.mogo.cloud.socket.entity.SocketDownData;
|
||||
import com.mogo.realtime.api.MoGoAiCloudRealTime;
|
||||
import com.mogo.realtime.socket.IMogoCloudOnMsgListener;
|
||||
@@ -29,7 +30,7 @@ public class RealTimeActivity extends AppCompatActivity implements IMogoCloudOnM
|
||||
setConfig();
|
||||
snapshotStartButton = findViewById(R.id.snapshotStart);
|
||||
snapshotStartButton.setOnClickListener(view -> {
|
||||
MoGoAiCloudRealTime.startRealTime(this, "com.mogo.launcher");
|
||||
MoGoAiCloudRealTime.startRealTime(this, MoGoAiCloudClientConfig.getInstance().getServiceAppId());
|
||||
MoGoAiCloudRealTime.registerOnMsgListener(this);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user