namespace Guru
{
    public partial class GuruSDK
    {
        #region System
        
        /// 
        /// 打开页面
        /// 
        /// 
        public static void OpenURL(string url)
        {
            GuruWebview.OpenPage(url);
        }
        /// 
        /// 打开隐私协议页面
        /// 
        public static void OpenPrivacyPage()
        {
            if (string.IsNullOrEmpty(PrivacyUrl))
            {
                LogE("PrivacyUrl is null"); 
                return;
            }
            OpenURL(PrivacyUrl);
        }
        
        /// 
        /// 打开服务条款页面
        /// 
        public static void OpenTermsPage()
        {
            if (string.IsNullOrEmpty(TermsUrl))
            {
                LogE("TermsUrl is null"); 
                return;
            }
            OpenURL(TermsUrl);
        }
        
        #endregion
    }
}