Beispiel #1
0
 void ButtonWhereNowHandler()
 {
     pubnub.WhereNow().Uuid("some-other-uuid").Async((result, status) => {
         Debug.Log("in WhereNow");
         if (status.Error)
         {
             PrintStatus(status);
         }
         else
         {
             Debug.Log(string.Format("DateTime {0}, In Example, Channels: {1}", DateTime.UtcNow, (result.Channels != null)?string.Join(",", result.Channels.ToArray()):""));
             Display(string.Format("WhereNow: {0}", (result.Channels != null)?string.Join(",", result.Channels.ToArray()):""));
         }
     });
 }