| | |
| | | //======================登录全视通==================== |
| | | if (isInterphoneType_FREEVIEW) |
| | | { |
| | | #if __IOS__ |
| | | //登录全视通 |
| | | Shared.IOS.HDLFVSDK.Video.Init("", DB_ResidenceData.Instance.CurrentRegion.id); |
| | | #endif |
| | | } |
| | | |
| | | |
| | |
| | | { |
| | | if (mHDLCallVideoInfo.spk == "door.gate") |
| | | { |
| | | #if __IOS__ |
| | | //自研可视对讲 |
| | | HDLLinPhoneSDK.Instance().GotoHDLSRLinphoneIntercomVC(mHDLCallVideoInfo.DeviceName,mHDLCallVideoInfo.DeviceSipAccount); |
| | | #endif |
| | | } |
| | | else { |
| | | //狄耐克可视对讲 |
| | |
| | | |
| | | //访客管理 |
| | | #region 个人选项-访客管理 |
| | | if (Entity.DB_ResidenceData.Instance.SupportVisitorManage)//判断是否支持访客管理 |
| | | if (!Entity.DB_ResidenceData.Instance.SupportVisitorManage)//判断是否支持访客管理 |
| | | { |
| | | optionListView.AddChidren(new Button() { X = Application.GetRealWidth(16), Height = Application.GetRealHeight(1), Width = Application.GetRealWidth(343), BackgroundColor = CSS_Color.DividingLineColor }); |
| | | |
| | |
| | | |
| | | btnisitorVManagementText.MouseUpEventHandler = (sender, e) => |
| | | { |
| | | #if __IOS__ |
| | | //刷新接口请求所需要的参数 |
| | | NSDictionary info = new NSDictionary("regionUrl", HttpUtil.GlobalRequestHttpsHost, "token", UserInfo.Current.LoginTokenString, "appkey", "HDL-HOME-APP-TEST", "secret", "WeJ8TY88vbakCcnvH8G1tDUqzLWY8yss", "refreshToken", UserInfo.Current.RefreshToken); |
| | | Shared.IOS.HDLFVSDK.Video.RefreshInfo(info); |
| | | //跳转访客管理界面 |
| | | Shared.IOS.HDLFVSDK.Video.ShowVisitorManager(); |
| | | #endif |
| | | }; |
| | | } |
| | | |