C# Class Appboy.AppboyBinding

Inheritance: UnityEngine.MonoBehaviour
Show file Open project: Appboy/appboy-unity-sdk Class Usage Examples

Public Methods

Method Description
AddToCustomUserAttributeArray ( string key, string value ) : void
ChangeUser ( string userId ) : void
IncrementCustomUserAttribute ( string key ) : void
IncrementCustomUserAttribute ( string key, int incrementValue ) : void
LogCardClicked ( string cardJSONString ) : void
LogCardImpression ( string cardJSONString ) : void
LogCustomEvent ( string eventName ) : void
LogCustomEvent ( string eventName, object>.Dictionary properties ) : void
LogFeedDisplayed ( ) : void
LogFeedbackDisplayed ( ) : void
LogInAppMessageButtonClicked ( string inAppMessageJSONString, int buttonID ) : void
LogInAppMessageClicked ( string inAppMessageJSONString ) : void
LogInAppMessageImpression ( string inAppMessageJSONString ) : void
LogPurchase ( string productId, string currencyCode, decimal price ) : void
LogPurchase ( string productId, string currencyCode, decimal price, int quantity ) : void
LogPurchase ( string productId, string currencyCode, decimal price, int quantity, object>.Dictionary properties ) : void
ParsePropertiesToAppboyProperties ( object>.Dictionary properties ) : AndroidJavaObject
RegisterAppboyPushMessages ( string registrationId ) : void
RemoveFromCustomUserAttributeArray ( string key, string value ) : void
RequestFeedRefresh ( ) : void
RequestFeedRefreshFromCache ( ) : void
RequestInAppMessage ( ) : void
RequestSlideup ( ) : void
SetCustomUserAttribute ( string key, bool value ) : void
SetCustomUserAttribute ( string key, float value ) : void
SetCustomUserAttribute ( string key, int value ) : void
SetCustomUserAttribute ( string key, string value ) : void
SetCustomUserAttributeArray ( string key, List array, int size ) : void
SetCustomUserAttributeToNow ( string key ) : void
SetCustomUserAttributeToSecondsFromEpoch ( string key, long secondsFromEpoch ) : void
SetUserAvatarImageURL ( string imageURL ) : void
SetUserBio ( string bio ) : void
SetUserCountry ( string country ) : void
SetUserDateOfBirth ( int year, int month, int day ) : void
SetUserEmail ( string email ) : void
SetUserEmailNotificationSubscriptionType ( AppboyNotificationSubscriptionType emailNotificationSubscriptionType ) : void
SetUserFirstName ( string firstName ) : void
SetUserGender ( Gender gender ) : void
SetUserHomeCity ( string city ) : void
SetUserIsSubscribedToEmails ( bool isSubscribedToEmails ) : void
SetUserLastName ( string lastName ) : void
SetUserPhoneNumber ( string phoneNumber ) : void
SetUserPushNotificationSubscriptionType ( AppboyNotificationSubscriptionType pushNotificationSubscriptionType ) : void
Start ( ) : void
SubmitFeedback ( string replyToEmail, string message, bool isReportingABug ) : void
UnsetCustomUserAttribute ( string key ) : 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 ) : void

Private Methods

Method Description
GetCurrentUser ( ) : AndroidJavaObject
LogSlideupClicked ( string slideupJSONString ) : void
LogSlideupImpression ( string slideupJSONString ) : void
_addToCustomUserAttributeArray ( string key, string value ) : void
_changeUser ( string userId ) : void
_incrementCustomUserAttribute ( string key, int incrementValue ) : void
_logCardClicked ( string cardJSONString ) : void
_logCardImpression ( string cardJSONString ) : void
_logCustomEvent ( string eventName, string properties ) : void
_logFeedDisplayed ( ) : void
_logFeedbackDisplayed ( ) : void
_logInAppMessageButtonClicked ( string inAppMessageJSONString, int buttonID ) : void
_logInAppMessageClicked ( string inAppMessageJSONString ) : void
_logInAppMessageImpression ( string inAppMessageJSONString ) : void
_logPurchase ( string productId, string currencyCode, string price, int quantity, string properties ) : void
_removeFromCustomUserAttributeArray ( string key, string value ) : void
_requestFeedRefresh ( ) : void
_requestFeedRefreshFromCache ( ) : void
_requestInAppMessage ( ) : void
_setCustomUserAttributeArray ( string key, string array, int size ) : void
_setCustomUserAttributeBool ( string key, bool val ) : void
_setCustomUserAttributeFloat ( string key, float val ) : void
_setCustomUserAttributeInt ( string key, int val ) : void
_setCustomUserAttributeString ( string key, string val ) : void
_setCustomUserAttributeToNow ( string key ) : void
_setCustomUserAttributeToSecondsFromEpoch ( string key, long seconds ) : void
_setUserAvatarImageURL ( string imageURL ) : void
_setUserBio ( string bio ) : void
_setUserCountry ( string country ) : void
_setUserDateOfBirth ( int year, int month, int day ) : void
_setUserEmail ( string email ) : void
_setUserEmailNotificationSubscriptionType ( int emailNotificationSubscriptionType ) : void
_setUserFacebookData ( string facebookId, string firstName, string lastName, string email, string bio, string cityName, int gender, int numberOfFriends, string birthday ) : void
_setUserFirstName ( string firstName ) : void
_setUserGender ( int gender ) : void
_setUserHomeCity ( string city ) : void
_setUserIsSubscribedToEmails ( bool isSubscribedToEmails ) : void
_setUserLastName ( string lastName ) : void
_setUserPhoneNumber ( string phoneNumber ) : void
_setUserPushNotificationSubscriptionType ( int pushNotificationSubscriptionType ) : void
_setUserTwitterData ( int twitterUserId, string twitterHandle, string name, string description, int followerCount, int followingCount, int tweetCount, string profileImageUrl ) : void
_submitFeedback ( string replyToEmail, string message, bool isReportingABug ) : void
_unsetCustomUserAttribute ( string key ) : void

Method Details

AddToCustomUserAttributeArray() public static method

public static AddToCustomUserAttributeArray ( string key, string value ) : void
key string
value string
return void

ChangeUser() public static method

public static ChangeUser ( string userId ) : void
userId string
return void

IncrementCustomUserAttribute() public static method

public static IncrementCustomUserAttribute ( string key ) : void
key string
return void

IncrementCustomUserAttribute() public static method

public static IncrementCustomUserAttribute ( string key, int incrementValue ) : void
key string
incrementValue int
return void

LogCardClicked() public static method

public static LogCardClicked ( string cardJSONString ) : void
cardJSONString string
return void

LogCardImpression() public static method

public static LogCardImpression ( string cardJSONString ) : void
cardJSONString string
return void

LogCustomEvent() public static method

public static LogCustomEvent ( string eventName ) : void
eventName string
return void

LogCustomEvent() public static method

public static LogCustomEvent ( string eventName, object>.Dictionary properties ) : void
eventName string
properties object>.Dictionary
return void

LogFeedDisplayed() public static method

public static LogFeedDisplayed ( ) : void
return void

LogFeedbackDisplayed() public static method

public static LogFeedbackDisplayed ( ) : void
return void

LogInAppMessageButtonClicked() public static method

public static LogInAppMessageButtonClicked ( string inAppMessageJSONString, int buttonID ) : void
inAppMessageJSONString string
buttonID int
return void

LogInAppMessageClicked() public static method

public static LogInAppMessageClicked ( string inAppMessageJSONString ) : void
inAppMessageJSONString string
return void

LogInAppMessageImpression() public static method

public static LogInAppMessageImpression ( string inAppMessageJSONString ) : void
inAppMessageJSONString string
return void

LogPurchase() public static method

public static LogPurchase ( string productId, string currencyCode, decimal price ) : void
productId string
currencyCode string
price decimal
return void

LogPurchase() public static method

public static LogPurchase ( string productId, string currencyCode, decimal price, int quantity ) : void
productId string
currencyCode string
price decimal
quantity int
return void

LogPurchase() public static method

public static LogPurchase ( string productId, string currencyCode, decimal price, int quantity, object>.Dictionary properties ) : void
productId string
currencyCode string
price decimal
quantity int
properties object>.Dictionary
return void

ParsePropertiesToAppboyProperties() public static method

public static ParsePropertiesToAppboyProperties ( object>.Dictionary properties ) : AndroidJavaObject
properties object>.Dictionary
return UnityEngine.AndroidJavaObject

RegisterAppboyPushMessages() public static method

public static RegisterAppboyPushMessages ( string registrationId ) : void
registrationId string
return void

RemoveFromCustomUserAttributeArray() public static method

public static RemoveFromCustomUserAttributeArray ( string key, string value ) : void
key string
value string
return void

RequestFeedRefresh() public static method

public static RequestFeedRefresh ( ) : void
return void

RequestFeedRefreshFromCache() public static method

public static RequestFeedRefreshFromCache ( ) : void
return void

RequestInAppMessage() public static method

public static RequestInAppMessage ( ) : void
return void

RequestSlideup() public static method

public static RequestSlideup ( ) : void
return void

SetCustomUserAttribute() public static method

public static SetCustomUserAttribute ( string key, bool value ) : void
key string
value bool
return void

SetCustomUserAttribute() public static method

public static SetCustomUserAttribute ( string key, float value ) : void
key string
value float
return void

SetCustomUserAttribute() public static method

public static SetCustomUserAttribute ( string key, int value ) : void
key string
value int
return void

SetCustomUserAttribute() public static method

public static SetCustomUserAttribute ( string key, string value ) : void
key string
value string
return void

SetCustomUserAttributeArray() public static method

public static SetCustomUserAttributeArray ( string key, List array, int size ) : void
key string
array List
size int
return void

SetCustomUserAttributeToNow() public static method

public static SetCustomUserAttributeToNow ( string key ) : void
key string
return void

SetCustomUserAttributeToSecondsFromEpoch() public static method

public static SetCustomUserAttributeToSecondsFromEpoch ( string key, long secondsFromEpoch ) : void
key string
secondsFromEpoch long
return void

SetUserAvatarImageURL() public static method

public static SetUserAvatarImageURL ( string imageURL ) : void
imageURL string
return void

SetUserBio() public static method

public static SetUserBio ( string bio ) : void
bio string
return void

SetUserCountry() public static method

public static SetUserCountry ( string country ) : void
country string
return void

SetUserDateOfBirth() public static method

public static SetUserDateOfBirth ( int year, int month, int day ) : void
year int
month int
day int
return void

SetUserEmail() public static method

public static SetUserEmail ( string email ) : void
email string
return void

SetUserEmailNotificationSubscriptionType() public static method

public static SetUserEmailNotificationSubscriptionType ( AppboyNotificationSubscriptionType emailNotificationSubscriptionType ) : void
emailNotificationSubscriptionType AppboyNotificationSubscriptionType
return void

SetUserFirstName() public static method

public static SetUserFirstName ( string firstName ) : void
firstName string
return void

SetUserGender() public static method

public static SetUserGender ( Gender gender ) : void
gender Gender
return void

SetUserHomeCity() public static method

public static SetUserHomeCity ( string city ) : void
city string
return void

SetUserIsSubscribedToEmails() public static method

public static SetUserIsSubscribedToEmails ( bool isSubscribedToEmails ) : void
isSubscribedToEmails bool
return void

SetUserLastName() public static method

public static SetUserLastName ( string lastName ) : void
lastName string
return void

SetUserPhoneNumber() public static method

public static SetUserPhoneNumber ( string phoneNumber ) : void
phoneNumber string
return void

SetUserPushNotificationSubscriptionType() public static method

public static SetUserPushNotificationSubscriptionType ( AppboyNotificationSubscriptionType pushNotificationSubscriptionType ) : void
pushNotificationSubscriptionType AppboyNotificationSubscriptionType
return void

Start() public method

public Start ( ) : void
return void

SubmitFeedback() public static method

public static SubmitFeedback ( string replyToEmail, string message, bool isReportingABug ) : void
replyToEmail string
message string
isReportingABug bool
return void

UnsetCustomUserAttribute() public static method

public static UnsetCustomUserAttribute ( string key ) : void
key string
return void

setUserFacebookData() public static method

public static setUserFacebookData ( string facebookId, string firstName, string lastName, string email, string bio, string cityName, Gender gender, int numberOfFriends, string birthday ) : void
facebookId string
firstName string
lastName string
email string
bio string
cityName string
gender Gender
numberOfFriends int
birthday string
return void

setUserTwitterData() public static method

public static setUserTwitterData ( int twitterUserId, string twitterHandle, string name, string description, int followerCount, int followingCount, int tweetCount, string profileImageUrl ) : void
twitterUserId int
twitterHandle string
name string
description string
followerCount int
followingCount int
tweetCount int
profileImageUrl string
return void