Exemple #1
0
    public void GetLoginUserSDK()
    {
        StringBuilder userId = new StringBuilder(128);
        TIMResult     res    = TencentIMSDK.GetLoginUserID(userId);

        Result.text  = Utils.SynchronizeResult(res);
        Result.text += "\nLoginUser: " + userId.ToString();
    }
Exemple #2
0
    public static void GetLoginUserID()
    {
        StringBuilder userId = new StringBuilder(128);

        TIMResult res = TencentIMSDK.GetLoginUserID(userId);

        addStringDataToConsole(userId.ToString());
        addDataToConsole(res);
    }