| | |
| | | public void InitializationAndroidData(Action<bool> action) |
| | | { |
| | | bool isBool = true; |
| | | this.Loading.Start(); |
| | | this.SunThread(() => |
| | | { |
| | | try |
| | |
| | | { |
| | | //Token |
| | | isBool = false; |
| | | this.ShowTip("先获取萤石云子账号token失败。"); |
| | | this.ShowTip("获取萤石云子账号token失败。"); |
| | | return; |
| | | } |
| | | |
| | |
| | | { |
| | | this.MainThread(() => |
| | | { |
| | | this.Loading.Hide(); |
| | | action?.Invoke(isBool); |
| | | }); |
| | | } |
| | |
| | | /// </summary> |
| | | public string GetVideoDoorLockIcon(Comerom comerom) |
| | | { |
| | | |
| | | if (comerom == Comerom.collect) |
| | | { |
| | | return "FunctionIcon/DoorLock/VideoDoorLockOpen.png"; |
| | |
| | | collect,//收藏 |
| | | room,//房间 |
| | | push,//推送 |
| | | sanfan,//三方 |
| | | sanfan,//添加第三方设备 |
| | | } |
| | | |
| | | #if __IOS__ |
| | | IosIHdlInterface ezsdkDelegate; |
| | | /// <summary> |
| | | /// 专门定义给Ios回调用着,没有特殊含义 |
| | | /// 专门定义给Ios回调用,没有特殊含义 |
| | | /// </summary> |
| | | public class IosIHdlInterface : EZSDK.IOS.EZSDKDelegate |
| | | { |
| | |
| | | } |
| | | #else |
| | | /// <summary> |
| | | /// 专门定义给安卓回调用着,没有特殊含义 |
| | | /// 专门定义给安卓回调用,没有特殊含义 |
| | | /// </summary> |
| | | public class AndroidIHdlInterface : Java.Lang.Object, IHdlInterface |
| | | { |