| | |
| | | #if __ANDROID__ |
| | | public class dddxx { } |
| | | #else |
| | | //大华摄像头sdk代理(Shared.IOS.HDLCNVRSDK) |
| | | hdlLCNVRSDKDelegate hdlLCNVRDelegate; |
| | | public class hdlLCNVRSDKDelegate : HDLLCNVRSDKDelegate |
| | | { |
| | |
| | | Shared.IOS.HDLCNVRSDK.HDLLCNVRSDK.SharedInstance().AccessToken = UserInfo.Current.LoginTokenString; |
| | | Shared.IOS.HDLCNVRSDK.HDLLCNVRSDK.SharedInstance().RefreshToken = UserInfo.Current.RefreshToken; |
| | | Shared.IOS.HDLCNVRSDK.HDLLCNVRSDK.SharedInstance().HomeId = DB_ResidenceData.Instance.CurrentRegion.id; |
| | | //跳转添加摄像头 |
| | | //跳转添加摄像头(Shared.IOS.HDLCNVRSDK) |
| | | hdlLCNVRDelegate = new hdlLCNVRSDKDelegate(() => |
| | | {//添加成功返回事件 |
| | | refreshView.BeginHeaderRefreshing(); |
| | |
| | | this.RemoveFromParent(); |
| | | }; |
| | | break; |
| | | case SPK.Peephole: |
| | | case SPK.VideoDoorLock: |
| | | { |
| | | //跳转到android,ios那边去 |
| | | HDL_ON.UI.UI2.FuntionControlView.VideoDoorLock.CommonMethod.Current.SkipAddDeviceActivity(device.spk); |
| | | } |
| | | break; |
| | | } |
| | | }; |
| | | } |