//using System; //#if __IOS__ //using Shared.IOS.ESVideoOnSDK; //using UIKit; //using Foundation; //#else //using Android.Content; //#endif //namespace HDL_ON.FengLinVideo //{ // public class ESOnVideo // { // /// // /// 丰林可视对讲 // /// // private static ESOnVideo m_Current = null; // /// // /// // /// // public static ESOnVideo Current // { // get // { // if (m_Current == null) // { // m_Current = new ESOnVideo(); // } // return m_Current; // } // } // public void InitESVideoSDK() // { // //ESVideo. // } // /// // /// 监控页面 // /// // /// // public void ShowESVideoMonitor(ESVideoInfo mESVideoInfo) // { // Intent intent = new Intent(Shared.Application.Activity, typeof(HDL_ON_Android.VideoActivity)); // intent.PutExtra("ESVideoUUID", mESVideoInfo.ESVideoUUID); // intent.PutExtra("uuid", mESVideoInfo.uuid); // intent.PutExtra("DeviceName", mESVideoInfo.DeviceName); // intent.PutExtra("cmtID", mESVideoInfo.cmtID); // intent.PutExtra("roomno", mESVideoInfo.roomno); // intent.PutExtra("unitno", mESVideoInfo.unitno); // intent.PutExtra("HomeID", mESVideoInfo.HomeID); // intent.PutExtra("callId", mESVideoInfo.callId); // intent.PutExtra("Type", 0); // Shared.Application.Activity.StartActivity(intent); // } // /// // /// 被呼叫页面 // /// // /// // public void ShowESvideoVideoIntercom(ESVideoInfo mESVideoInfo) // { // Intent intent = new Intent(Shared.Application.Activity, typeof(HDL_ON_Android.VideoActivity)); // intent.PutExtra("ESVideoUUID", mESVideoInfo.ESVideoUUID); // intent.PutExtra("uuid", mESVideoInfo.uuid); // intent.PutExtra("DeviceName", mESVideoInfo.DeviceName); // intent.PutExtra("cmtID", mESVideoInfo.cmtID); // intent.PutExtra("roomno", mESVideoInfo.roomno); // intent.PutExtra("unitno", mESVideoInfo.unitno); // intent.PutExtra("HomeID", mESVideoInfo.HomeID); // intent.PutExtra("callId", mESVideoInfo.callId); // intent.PutExtra("Type", 1); // Shared.Application.Activity.StartActivity(intent); // } // /// // /// 测试方法 // /// // /// // public void Test(bool isMonitor = true) // { // ESVideoInfo eSVideoInfo = new ESVideoInfo() // { // DeviceName = "室外机88", // ESVideoUUID = "JJY000019VPLLF", // }; // if (isMonitor) // { // ShowESVideoMonitor(eSVideoInfo); // } // else // { // ShowESvideoVideoIntercom(eSVideoInfo); // } // } // } // public class ESVideoInfo // { // /// // /// 室外机的UUID // /// 例:JJY000007FSEYX // /// // public string ESVideoUUID = string.Empty; // /// // /// 室外机的名称 // /// 例:室外机 // /// // public string DeviceName = string.Empty; // /// // /// 丰林请求的唯一id // /// // public string uuid; // /// // /// 丰林社区id // /// // public string cmtID; // /// // /// 丰林房间号 // /// // public string roomno; // /// // /// 丰林楼栋号 // /// // public string unitno; // /// // /// 丰林住宅Id // /// // public string HomeID; // /// // /// 呼叫记录Id // /// // public string callId; // } //}