Exemplo n.º 1
0
 void RemoveChannelsFromCG(PubNub pubnub, string cg, List <string> listChannelsRemove)
 {
     pubnub.RemoveChannelsFromChannelGroup().Channels(listChannelsRemove).ChannelGroup(cg).Async((result, status) => {
         Debug.Log("in RemoveChannelsFromCG");
         if (status.Error)
         {
             Debug.Log(string.Format("In Example, RemoveChannelsFromCG Error: {0} {1} {2}", status.StatusCode, status.ErrorData, status.Category));
         }
         else
         {
             Debug.Log(string.Format("DateTime {0}, In RemoveChannelsFromCG, result: {1}", DateTime.UtcNow, result.Message));
             Display(string.Format("RemoveChannelsFromChannelGroup: {0}", result.Message));
         }
     });
 }