| | |
| | | |
| | | this.InitializationAndroidData((isBools) => |
| | | { |
| | | if (!isBools) |
| | | |
| | | this.MainThread(() => |
| | | { |
| | | this.MainThread(() => |
| | | if (!isBools) |
| | | { |
| | | this.ShowTip("先获取萤石云子账号token失败。"); |
| | | |
| | | }); |
| | | } |
| | | } |
| | | #if __IOS__ |
| | | |
| | | #else |
| | |
| | | |
| | | })); |
| | | #endif |
| | | |
| | | }); |
| | | |
| | | |
| | | }); |
| | | |
| | | |
| | |
| | | } |
| | | #if __IOS__ |
| | | #else |
| | | HDLEzvizSdk.Instance.JumpTempPasswordActivity(Application.Activity, deviceId); |
| | | HDLEzvizSdk.Instance.JumpTempPasswordActivity(Application.Activity, deviceId); |
| | | #endif |
| | | |
| | | }); |
| | |
| | | #endregion |
| | | |
| | | /// <summary> |
| | | /// 萤石视频门锁的图标 |
| | | /// <param name="comerom">来自那里</param> |
| | | /// 获取门锁型号列表 |
| | | /// </summary> |
| | | public string GetVideoDoorLockIcon(Comerom comerom) |
| | | /// <returns>返回结果不会为null</returns> |
| | | public List<string> GetVideoDoorLockLockModelsList() |
| | | { |
| | | if (comerom == Comerom.collect) |
| | | { |
| | | return "FunctionIcon/DoorLock/VideoDoorLockOpen.png"; |
| | | } |
| | | else |
| | | { |
| | | return "FunctionIcon/DoorLock/VideoDoorlockClose.png"; |
| | | } |
| | | |
| | | return VideDoorLockSend.Current.GetVideoDoorLockLockModelsList(); |
| | | } |
| | | |
| | | |
| | | #region --------- 功能文件保存,删除 -------- |
| | | /// <summary> |
| | | /// 保存本地文件 |
| | |
| | | } |
| | | #endregion |
| | | /// <summary> |
| | | /// 萤石视频门锁的图标 |
| | | /// <param name="comerom">来自那里</param> |
| | | /// </summary> |
| | | public string GetVideoDoorLockIcon(Comerom comerom) |
| | | { |
| | | if (comerom == Comerom.collect) |
| | | { |
| | | return "FunctionIcon/DoorLock/VideoDoorLockOpen.png"; |
| | | } |
| | | else |
| | | { |
| | | return "FunctionIcon/DoorLock/VideoDoorlockClose.png"; |
| | | } |
| | | |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 获取Loading对象 |
| | | /// </summary> |
| | | /// <returns></returns> |