C# Class GameThrive, GameThrive-Unity-SDK

Inheritance: MonoBehaviour
Show file Open project: GameThrive/GameThrive-Unity-SDK Class Usage Examples

Public Properties

Property Type Description
idsAvailableDelegate IdsAvailable
tagsReceivedDelegate TagsReceived

Public Methods

Method Description
DeleteTag ( string key ) : void
DeleteTags ( IList keys ) : void
EnableSound ( bool enable ) : void
EnableVibrate ( bool enable ) : void
GetIdsAvailable ( ) : void
GetIdsAvailable ( IdsAvailable inIdsAvailableDelegate ) : void
GetTags ( ) : void
GetTags ( TagsReceived inTagsReceivedDelegate ) : void
Init ( string appId ) : void
Init ( string appId, string googleProjectNumber ) : void
Init ( string appId, string googleProjectNumber, NotificationReceived inNotificationDelegate ) : void
Init ( string appId, string googleProjectNumber, NotificationReceived inNotificationDelegate, bool autoRegister ) : void
OnApplicationPause ( bool paused ) : void
RegisterForPushNotifications ( ) : void
SendPurchase ( double amount ) : void
SendTag ( string tagName, string tagValue ) : void
SendTags ( string>.IDictionary tags ) : void

Private Methods

Method Description
onIdsAvailable ( string jsonString ) : void
onPushNotificationReceived ( string jsonString ) : void
onTagsReceived ( string jsonString ) : void

Method Details

DeleteTag() public static method

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

DeleteTags() public static method

public static DeleteTags ( IList keys ) : void
keys IList
return void

EnableSound() public static method

public static EnableSound ( bool enable ) : void
enable bool
return void

EnableVibrate() public static method

public static EnableVibrate ( bool enable ) : void
enable bool
return void

GetIdsAvailable() public static method

public static GetIdsAvailable ( ) : void
return void

GetIdsAvailable() public static method

public static GetIdsAvailable ( IdsAvailable inIdsAvailableDelegate ) : void
inIdsAvailableDelegate IdsAvailable
return void

GetTags() public static method

public static GetTags ( ) : void
return void

GetTags() public static method

public static GetTags ( TagsReceived inTagsReceivedDelegate ) : void
inTagsReceivedDelegate TagsReceived
return void

Init() public static method

public static Init ( string appId ) : void
appId string
return void

Init() public static method

public static Init ( string appId, string googleProjectNumber ) : void
appId string
googleProjectNumber string
return void

Init() public static method

public static Init ( string appId, string googleProjectNumber, NotificationReceived inNotificationDelegate ) : void
appId string
googleProjectNumber string
inNotificationDelegate NotificationReceived
return void

Init() public static method

public static Init ( string appId, string googleProjectNumber, NotificationReceived inNotificationDelegate, bool autoRegister ) : void
appId string
googleProjectNumber string
inNotificationDelegate NotificationReceived
autoRegister bool
return void

OnApplicationPause() public method

public OnApplicationPause ( bool paused ) : void
paused bool
return void

RegisterForPushNotifications() public static method

public static RegisterForPushNotifications ( ) : void
return void

SendPurchase() public static method

public static SendPurchase ( double amount ) : void
amount double
return void

SendTag() public static method

public static SendTag ( string tagName, string tagValue ) : void
tagName string
tagValue string
return void

SendTags() public static method

public static SendTags ( string>.IDictionary tags ) : void
tags string>.IDictionary
return void

Property Details

idsAvailableDelegate public static property

public static IdsAvailable idsAvailableDelegate
return IdsAvailable

tagsReceivedDelegate public static property

public static TagsReceived tagsReceivedDelegate
return TagsReceived