Exemple #1
0
    public static void MsgDoBackground()
    {
        TIMResult res = TencentIMSDK.MsgDoBackground(10, addAsyncDataToConsole);

        addDataToConsole(res);
    }
Exemple #2
0
 void OnApplicationQuit()
 {
     TencentIMSDK.Uninit();
 }
Exemple #3
0
 void OnDestroy()
 {
     TencentIMSDK.Uninit();
 }
Exemple #4
0
 public void FriendshipGetFriendProfileList()
 {
     var       Users = UserList;
     var       cb    = Utils.addAsyncStringDataToScreen(SetUserList);
     TIMResult res   = TencentIMSDK.FriendshipGetFriendProfileList(cb);
 }
Exemple #5
0
    public void GetServerTimeSDK()
    {
        long time = TencentIMSDK.GetServerTime();

        Result.text = time.ToString();
    }
Exemple #6
0
    void FriendshipGetFriendProfileListSDK()
    {
        TIMResult res = TencentIMSDK.FriendshipGetFriendProfileList(Utils.addAsyncStringDataToScreen(GetFriendList));

        print($"FriendshipGetFriendProfileListSDK {res}");
    }
Exemple #7
0
    void GroupGetJoinedGroupListSDK()
    {
        TIMResult res = TencentIMSDK.GroupGetJoinedGroupList(Utils.addAsyncStringDataToScreen(GetGroupList));

        print($"GroupGetJoinedGroupListSDK {res}");
    }
Exemple #8
0
    void FriendshipGetFriendProfileListSDK()
    {
        TIMResult res = TencentIMSDK.FriendshipGetFriendProfileList(Utils.addAsyncStringDataToScreen(GetResult));

        Result.text = Utils.SynchronizeResult(res);
    }