finish the interface of live
This commit is contained in:
@@ -92,7 +92,7 @@ public class MainActivity extends AppCompatActivity {
|
||||
|
||||
btnRequestXINGLive = findViewById(R.id.btnRequestXINGLive);
|
||||
btnRequestXINGLive.setOnClickListener(v -> {
|
||||
MoGoAiCloudTrafficLive.viewFrontIntersectionLive(40.11547, 116.22544, 60, new ITrafficIntersectionLiveCallBack() {
|
||||
MoGoAiCloudTrafficLive.viewDesignativeIntersectionLive("POLE1617103029423", new ITrafficIntersectionLiveCallBack() {
|
||||
@Override
|
||||
public void liveUrlResult(String liveUrl) {
|
||||
Logger.d(TAG, "liveUrl : " + liveUrl);
|
||||
@@ -103,6 +103,17 @@ public class MainActivity extends AppCompatActivity {
|
||||
Logger.e(TAG, "errorMsg : " + errorMsg);
|
||||
}
|
||||
});
|
||||
// MoGoAiCloudTrafficLive.viewFrontIntersectionLive(40.11547, 116.22544, 60, new ITrafficIntersectionLiveCallBack() {
|
||||
// @Override
|
||||
// public void liveUrlResult(String liveUrl) {
|
||||
// Logger.d(TAG, "liveUrl : " + liveUrl);
|
||||
// }
|
||||
//
|
||||
// @Override
|
||||
// public void onError(String errorMsg) {
|
||||
// Logger.e(TAG, "errorMsg : " + errorMsg);
|
||||
// }
|
||||
// });
|
||||
});
|
||||
|
||||
MoGoAiCloudClient.getInstance().addTokenCallbacks(new IMoGoTokenCallback() {
|
||||
|
||||
Reference in New Issue
Block a user