private void printPlacesCampaign(PlacesCampaignInfo info) { Debug.Log("-------"); Debug.Log("PlacesCampaignInfo"); Debug.Log("campaignId: " + info.CampaignId); Debug.Log("name: " + info.Name); Debug.Log("creativeId: " + info.CreativeId); Debug.Log("creativeType: " + info.CreativeType); Debug.Log("message: " + info.Message); Debug.Log("soundFilename: " + info.SoundFilename); Debug.Log("triggerEvent: " + info.TriggerEvent); Debug.Log("attributes:"); foreach (KeyValuePair <string, string> kvp in info.Attributes) { Debug.Log(kvp.Key + "=" + kvp.Value); } printCircularRegion(info.Region); }
AndroidJavaObject Localytics_OnLocalyticsWillShowPlacesPushNotification(AndroidJavaObject notificationBuilder, PlacesCampaignInfo campaign) { Debug.Log("WillShowPlacesPushNotification"); printPlacesCampaign(campaign); //notificationBuilder.Call<AndroidJavaObject> ("setContentTitle", "New Title"); return(notificationBuilder); }
bool Localytics_OnLocalyticsShouldShowPlacesPushNotification(PlacesCampaignInfo campaign) { Debug.Log("ShouldShowPlacesPushNotification"); printPlacesCampaign(campaign); return(true); }