/// <summary> /// send Tag /// </summary> public void SendTag(List <KeyValuePair <string, object> > tagList, EventHandler <List <KeyValuePair <string, string> > > OnTagSendSuccess, EventHandler <string> OnError) { TagsService Tags = new TagsService(AppID); Tags.OnSuccess += OnTagSendSuccess; Tags.OnError += OnError; Tags.SendRequest(tagList); }
/// <param name="appID">PushWoosh application id</param> /// <param name="pushPage">Page on which the navigation is when receiving toast push notification </param> private NotificationService(string appID, string pushPage) { _pushPage = pushPage; AppID = appID; Statistic = new StatisticService(appID); Tags = new TagsService(appID); GeoZone = new GeozoneService(appID); }
/// <param name="appID">PushWoosh application id</param> /// <param name="pushPage">Page on which the navigation is when receiving toast push notification </param> private NotificationService(string appID, string pushPage) { _pushPage = pushPage; AppID = appID; PushToken = ""; Statistic = new StatisticService(appID); Tags = new TagsService(appID); GeoZone = new GeozoneService(appID); Statistic.SendAppOpen(); }
/// <summary> /// send Tag /// </summary> public void SendTag(List<KeyValuePair<string, object>> tagList, EventHandler<List<KeyValuePair<string, string>>> OnTagSendSuccess, EventHandler<string> OnError) { TagsService Tags = new TagsService(AppID); Tags.OnSuccess += OnTagSendSuccess; Tags.OnError += OnError; Tags.SendRequest(tagList); }
/// <param name="appID">PushWoosh application id</param> /// <param name="pushPage">Page on which the navigation is when receiving toast push notification </param> private NotificationService(string appID) { AppID = appID; ApplicationData.Current.LocalSettings.Values["com.pushwoosh.appid"] = appID; PushToken = ""; Statistic = new StatisticService(appID); Tags = new TagsService(appID); GeoZone = new GeozoneService(appID); Statistic.SendAppOpen(); }