// internal static IDictionary<string, object> ToDictionary(this LLInboxCampaign campaign) // { // return new Dictionary<string, object> // { // { "_nativeHandle", campaign }, // { "campaignId", campaign.CampaignId }, // { "name", campaign.Name }, ////{ "attributes", campaign.Attributes }, ////{ "creativeFilePath", campaign.CreativeFilePath }, //{ "read", campaign.Read }, // { "titleText", campaign.TitleText }, // { "summaryText", campaign.SummaryText }, // { "thumbnailUrl", campaign.ThumbnailUrl.ToString() }, // { "hasCreative", campaign.HasCreative }, // { "sortOrder", campaign.SortOrder }, // { "receivedDate", campaign.ReceivedDate }, // { "deepLinkURL", campaign.DeepLinkURL.ToString() }, // { "isPushToInboxCampaign", campaign.IsPushToInboxCampaign } // { "isDeleted", campaign.IsDeleted } // }; //} internal static IDictionary <string, object> ToDictionary(this LLPlacesCampaign campaign) { return(new Dictionary <string, object> { { "_nativeHandle", campaign }, { "campaignId", campaign.CampaignId }, { "name", campaign.Name }, //{ "attributes", campaign.Attributes }, { "message", campaign.Message }, { "soundFilename", campaign.SoundFilename }, { "region", campaign.Region }, { "event", (ulong)campaign.Event }, { "category", campaign.Category }, { "attachmentURL", campaign.AttachmentUrl }, { "attachmentURL", campaign.AttachmentType } }); }
UILocalNotification LocalyticsWillDisplayNotification(UILocalNotification notification, LLPlacesCampaign campaign) { Console.Write("LocalyticsWillDisplayNotification"); return(notification); }
public override bool LocalyticsShouldDisplayPlacesCampaign(LLPlacesCampaign campaign) { Console.Write("LocalyticsShouldDisplayPlacesCampaign"); return(true); }
// @required +(void)triggerPlacesNotificationForCampaign:(LLPlacesCampaign * _Nonnull)campaign; public static void TriggerPlacesNotificationForCampaign(LLPlacesCampaign campaign) { Localytics.TriggerPlacesNotificationForCampaign(campaign); }
// @required +(void)tagPlacesPushOpened:(LLPlacesCampaign * _Nonnull)campaign withActionIdentifier:(NSString * _Nonnull)identifier; public static void TagPlacesPushOpened(LLPlacesCampaign campaign, string identifier) { Localytics.TagPlacesPushOpened(campaign, identifier); }
// @required +(void)tagPlacesPushOpened:(LLPlacesCampaign * _Nonnull)campaign; public static void TagPlacesPushOpened(LLPlacesCampaign campaign) { Localytics.TagPlacesPushOpenedPrivate(campaign); }
public UserNotifications.UNMutableNotificationContent PlacesWillDisplayNotificationContent(UserNotifications.UNMutableNotificationContent notificationContent, LLPlacesCampaign placesCampaign) { Console.WriteLine("XamarinEvent PlacesWillDisplayNotificationContent {0}", placesCampaign); return(notificationContent); }
public UILocalNotification PlacesWillDisplayNotification(UILocalNotification localNotification, LLPlacesCampaign placesCampaign) { Console.WriteLine("XamarinEvent PlacesWillDisplayNotification {0}", placesCampaign); return(localNotification); }