C# Class Appboy.AppboyBinding

Inheritance: UnityEngine.MonoBehaviour
Afficher le fichier Open project: Appboy/appboy-unity-sdk Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

public static AddToCustomUserAttributeArray ( string key, string value ) : void
key string
value string
Résultat void

ChangeUser() public static méthode

public static ChangeUser ( string userId ) : void
userId string
Résultat void

IncrementCustomUserAttribute() public static méthode

public static IncrementCustomUserAttribute ( string key ) : void
key string
Résultat void

IncrementCustomUserAttribute() public static méthode

public static IncrementCustomUserAttribute ( string key, int incrementValue ) : void
key string
incrementValue int
Résultat void

LogCardClicked() public static méthode

public static LogCardClicked ( string cardJSONString ) : void
cardJSONString string
Résultat void

LogCardImpression() public static méthode

public static LogCardImpression ( string cardJSONString ) : void
cardJSONString string
Résultat void

LogCustomEvent() public static méthode

public static LogCustomEvent ( string eventName ) : void
eventName string
Résultat void

LogCustomEvent() public static méthode

public static LogCustomEvent ( string eventName, object>.Dictionary properties ) : void
eventName string
properties object>.Dictionary
Résultat void

LogFeedDisplayed() public static méthode

public static LogFeedDisplayed ( ) : void
Résultat void

LogFeedbackDisplayed() public static méthode

public static LogFeedbackDisplayed ( ) : void
Résultat void

LogInAppMessageButtonClicked() public static méthode

public static LogInAppMessageButtonClicked ( string inAppMessageJSONString, int buttonID ) : void
inAppMessageJSONString string
buttonID int
Résultat void

LogInAppMessageClicked() public static méthode

public static LogInAppMessageClicked ( string inAppMessageJSONString ) : void
inAppMessageJSONString string
Résultat void

LogInAppMessageImpression() public static méthode

public static LogInAppMessageImpression ( string inAppMessageJSONString ) : void
inAppMessageJSONString string
Résultat void

LogPurchase() public static méthode

public static LogPurchase ( string productId, string currencyCode, decimal price ) : void
productId string
currencyCode string
price decimal
Résultat void

LogPurchase() public static méthode

public static LogPurchase ( string productId, string currencyCode, decimal price, int quantity ) : void
productId string
currencyCode string
price decimal
quantity int
Résultat void

LogPurchase() public static méthode

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
Résultat void

ParsePropertiesToAppboyProperties() public static méthode

public static ParsePropertiesToAppboyProperties ( object>.Dictionary properties ) : AndroidJavaObject
properties object>.Dictionary
Résultat UnityEngine.AndroidJavaObject

RegisterAppboyPushMessages() public static méthode

public static RegisterAppboyPushMessages ( string registrationId ) : void
registrationId string
Résultat void

RemoveFromCustomUserAttributeArray() public static méthode

public static RemoveFromCustomUserAttributeArray ( string key, string value ) : void
key string
value string
Résultat void

RequestFeedRefresh() public static méthode

public static RequestFeedRefresh ( ) : void
Résultat void

RequestFeedRefreshFromCache() public static méthode

public static RequestFeedRefreshFromCache ( ) : void
Résultat void

RequestInAppMessage() public static méthode

public static RequestInAppMessage ( ) : void
Résultat void

RequestSlideup() public static méthode

public static RequestSlideup ( ) : void
Résultat void

SetCustomUserAttribute() public static méthode

public static SetCustomUserAttribute ( string key, bool value ) : void
key string
value bool
Résultat void

SetCustomUserAttribute() public static méthode

public static SetCustomUserAttribute ( string key, float value ) : void
key string
value float
Résultat void

SetCustomUserAttribute() public static méthode

public static SetCustomUserAttribute ( string key, int value ) : void
key string
value int
Résultat void

SetCustomUserAttribute() public static méthode

public static SetCustomUserAttribute ( string key, string value ) : void
key string
value string
Résultat void

SetCustomUserAttributeArray() public static méthode

public static SetCustomUserAttributeArray ( string key, List array, int size ) : void
key string
array List
size int
Résultat void

SetCustomUserAttributeToNow() public static méthode

public static SetCustomUserAttributeToNow ( string key ) : void
key string
Résultat void

SetCustomUserAttributeToSecondsFromEpoch() public static méthode

public static SetCustomUserAttributeToSecondsFromEpoch ( string key, long secondsFromEpoch ) : void
key string
secondsFromEpoch long
Résultat void

SetUserAvatarImageURL() public static méthode

public static SetUserAvatarImageURL ( string imageURL ) : void
imageURL string
Résultat void

SetUserBio() public static méthode

public static SetUserBio ( string bio ) : void
bio string
Résultat void

SetUserCountry() public static méthode

public static SetUserCountry ( string country ) : void
country string
Résultat void

SetUserDateOfBirth() public static méthode

public static SetUserDateOfBirth ( int year, int month, int day ) : void
year int
month int
day int
Résultat void

SetUserEmail() public static méthode

public static SetUserEmail ( string email ) : void
email string
Résultat void

SetUserEmailNotificationSubscriptionType() public static méthode

public static SetUserEmailNotificationSubscriptionType ( AppboyNotificationSubscriptionType emailNotificationSubscriptionType ) : void
emailNotificationSubscriptionType AppboyNotificationSubscriptionType
Résultat void

SetUserFirstName() public static méthode

public static SetUserFirstName ( string firstName ) : void
firstName string
Résultat void

SetUserGender() public static méthode

public static SetUserGender ( Gender gender ) : void
gender Gender
Résultat void

SetUserHomeCity() public static méthode

public static SetUserHomeCity ( string city ) : void
city string
Résultat void

SetUserIsSubscribedToEmails() public static méthode

public static SetUserIsSubscribedToEmails ( bool isSubscribedToEmails ) : void
isSubscribedToEmails bool
Résultat void

SetUserLastName() public static méthode

public static SetUserLastName ( string lastName ) : void
lastName string
Résultat void

SetUserPhoneNumber() public static méthode

public static SetUserPhoneNumber ( string phoneNumber ) : void
phoneNumber string
Résultat void

SetUserPushNotificationSubscriptionType() public static méthode

public static SetUserPushNotificationSubscriptionType ( AppboyNotificationSubscriptionType pushNotificationSubscriptionType ) : void
pushNotificationSubscriptionType AppboyNotificationSubscriptionType
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

SubmitFeedback() public static méthode

public static SubmitFeedback ( string replyToEmail, string message, bool isReportingABug ) : void
replyToEmail string
message string
isReportingABug bool
Résultat void

UnsetCustomUserAttribute() public static méthode

public static UnsetCustomUserAttribute ( string key ) : void
key string
Résultat void

setUserFacebookData() public static méthode

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
Résultat void

setUserTwitterData() public static méthode

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
Résultat void