-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating Unity plugins for version 3.3.0
- Loading branch information
Showing
25 changed files
with
1,388 additions
and
1,465 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
using Appboy.Internal; | ||
using Appboy.Models; | ||
using Appboy.Utilities; | ||
using Appboy; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Runtime.InteropServices; | ||
using System.Text; | ||
using UnityEngine; | ||
|
||
public interface BrazePlatform { | ||
void LogCustomEvent(string eventName); | ||
void LogCustomEvent(string eventName, Dictionary<string, object> properties); | ||
void LogPurchase(string productId, | ||
string currencyCode, | ||
decimal price, | ||
int quantity | ||
); | ||
void LogPurchase( | ||
string productId, | ||
string currencyCode, | ||
decimal price, | ||
int quantity, | ||
Dictionary<string, object> properties | ||
); | ||
|
||
void ChangeUser(string userId); | ||
|
||
void SetUserFirstName(string firstName); | ||
void SetUserLastName(string lastName); | ||
void SetUserEmail(string email); | ||
void SetUserGender(Gender gender); | ||
void SetUserDateOfBirth(int year, int month, int day); | ||
void SetUserCountry(string country); | ||
void SetUserHomeCity(string city); | ||
void SetUserEmailNotificationSubscriptionType(AppboyNotificationSubscriptionType emailNotificationSubscriptionType); | ||
void SetUserPushNotificationSubscriptionType(AppboyNotificationSubscriptionType pushNotificationSubscriptionType); | ||
void SetUserPhoneNumber(string phoneNumber); | ||
void SetUserAvatarImageURL(string imageURL); | ||
|
||
void SetCustomUserAttribute(string key, bool value); | ||
void SetCustomUserAttribute(string key, int value); | ||
void SetCustomUserAttribute(string key, float value); | ||
void SetCustomUserAttribute(string key, string value); | ||
void SetCustomUserAttributeToNow(string key); | ||
void SetCustomUserAttributeToSecondsFromEpoch(string key, long secondsFromEpoch); | ||
void UnsetCustomUserAttribute(string key); | ||
void IncrementCustomUserAttribute(string key, int incrementValue); | ||
void SetCustomUserAttributeArray(string key, List<string> array, int size); | ||
void AddToCustomUserAttributeArray(string key, string value); | ||
void RemoveFromCustomUserAttributeArray(string key, string value); | ||
|
||
void setUserFacebookData( | ||
string facebookId, | ||
string firstName, | ||
string lastName, | ||
string email, | ||
string bio, | ||
string cityName, | ||
Gender? gender, | ||
int? numberOfFriends, | ||
string birthday | ||
); | ||
|
||
void setUserTwitterData( | ||
int? twitterUserId, | ||
string twitterHandle, | ||
string name, | ||
string description, | ||
int? followerCount, | ||
int? followingCount, | ||
int? tweetCount, | ||
string profileImageUrl | ||
); | ||
|
||
#if UNITY_ANDROID | ||
void RegisterAppboyPushMessages(string registrationId); | ||
#elif UNITY_IOS | ||
void RegisterAppboyPushMessages(byte[] registrationDeviceToken); | ||
#endif | ||
void PromptUserForPushPermissions(bool provisional, PushPromptResponseReceived reponseDelegate = null); | ||
void SetPushTokenReceivedFromSystemDelegate(PushTokenReceivedFromSystem tokenDelegate); | ||
|
||
void LogInAppMessageClicked(string inAppMessageJSONString); | ||
void LogInAppMessageImpression(string inAppMessageJSONString); | ||
void LogInAppMessageButtonClicked(string inAppMessageJSONString, int buttonID); | ||
|
||
void RequestFeedRefresh(); | ||
void RequestFeedRefreshFromCache(); | ||
void LogFeedDisplayed(); | ||
|
||
#if UNITY_ANDROID | ||
void LogCardImpression(string cardId); | ||
void LogCardClicked(string cardId); | ||
#elif UNITY_IOS | ||
void LogCardImpression(string cardJSONString); | ||
void LogCardClicked(string cardJSONString); | ||
#endif | ||
void RequestContentCardsRefresh(); | ||
void RequestContentCardsRefreshFromCache(); | ||
void LogContentCardsDisplayed(); | ||
void LogContentCardClicked(string contentCardString); | ||
void LogContentCardImpression(string contentCardString); | ||
void LogContentCardDismissed(string contentCardString); | ||
|
||
void WipeData(); | ||
void EnableSDK(); | ||
void DisableSDK(); | ||
|
||
string GetInstallTrackingId(); | ||
void SetAttributionData(string network, string campaign, string adgroup, string creative); | ||
|
||
void RequestLocationInitialization(); | ||
void RequestGeofences(decimal latitude, decimal longitude); | ||
|
||
void RequestImmediateDataFlush(); | ||
void AddAlias(string alias, string label); | ||
void ConfigureListener(BrazeUnityMessageType messageType, string gameobject, string method); | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.