void loadChannelsData()
    {
        //Type: 0-All, 1-Recent, 2-My, 3-Friends, 4-Bookmarked, 5-Joined, 6-Opened
        string channel_type  = "0";        //joined channels
        string search_filter = "";

        UtopiaLib.QueryFilter filter = new UtopiaLib.QueryFilter();
        //limit channels number in response
        filter.limit = "33";

        JArray channelsData = client.getChannels(
            channel_type,
            search_filter,
            filter
            );

        ChannelsBuilder.buildChannels(channelsData);
        if (isDebug)
        {
            Debug.Log(channelsData);
        }
    }
コード例 #2
0
        public JArray getCards(QueryFilter filter = null)
        {
            JObject params_obj = new JObject();

            return(apiQuery("getCards", params_obj, filter)["result"] as JArray);
        }
コード例 #3
0
 public JArray getFilesFromManager(QueryFilter filter = null)
 {
     return(apiQuery("getFilesFromManager", null, filter)["result"] as JArray);
 }