Exemple #1
0
    /// <summary>
    /// 从SDK 获取实名制状态,并缓存
    /// </summary>
    /// <returns></returns>
    private RealNameStatus GetRealNameStatusFromSDK()
    {
        if (!openRealName)
        {
            RealNameStatus = RealNameStatus.NotNeed;
        }
        else
        {
            RealNameStatus = SDKManager.GetRealNameType();
        }

        Debug.Log("GetRealNameStatusFromSDK :openRealName " + openRealName + " realNameStatus:" + RealNameStatus);

        return(RealNameStatus);
    }