| | |
| | | // mUrl = CONST.Envirment.CHINA_TEST.url; |
| | | // ProviderManager.getAppProvider().setAppType(0); |
| | | // } else { |
| | | // mAppSecret = "017fc27bb987496f9a677e4e6f0c88"; |
| | | // mAppid = "lc0285433bc7e8423d"; |
| | | // mUrl = CONST.Envirment.OVERSEAS_PRO.url; |
| | | // secretKey = "017fc27bb987496f9a677e4e6f0c88"; |
| | | // appKey = "lc0285433bc7e8423d"; |
| | | // url = CONST.Envirment.OVERSEAS_PRO.url; |
| | | ProviderManager.getAppProvider().setAppType(1); |
| | | // } |
| | | |
| | |
| | | |
| | | @Subscribe(threadMode = ThreadMode.MAIN) |
| | | public void onGetMessage(String obj) { |
| | | if(obj.equals("backXamarin")){ |
| | | iAddCamera.back(); |
| | | |
| | | if(EventBus.getDefault().isRegistered(this)){ |
| | | if (obj.equals("backXamarin")) { |
| | | if (EventBus.getDefault().isRegistered(this)) { |
| | | EventBus.getDefault().unregister(this); |
| | | } |
| | | |
| | | if (iAddCamera != null) |
| | | iAddCamera.back(); |
| | | } |
| | | } |
| | | |
| | | public void play(String deviceId){ |
| | | new DeviceUtils(deviceId).play(); |
| | | public void play(String deviceId,String title){ |
| | | new DeviceUtils(deviceId,title).play(); |
| | | } |
| | | |
| | | |