public void onGiftHandOutSuccess(string message) { SoomlaUtils.LogDebug(TAG, "SOOMLA/UNITY onGiftHandOutSuccess: " + message); JSONObject eventJSON = new JSONObject(message); Gift gift = new Gift(eventJSON["gift"]); HighwayEvents.OnGiftHandOutSuccess(gift); }
public void onGiftHandOutFailed(string message) { SoomlaUtils.LogDebug(TAG, "SOOMLA/UNITY onGiftHandOutFailed: " + message); JSONObject eventJSON = new JSONObject(message); Gift gift = new Gift(eventJSON["gift"]); string errorMessage = eventJSON["errorMessage"].str; HighwayEvents.OnGiftHandOutFailed(gift, errorMessage); }
public void onGiftSendFinished(string message) { SoomlaUtils.LogDebug(TAG, "SOOMLA/UNITY onGiftSendFinished: " + message); JSONObject eventJSON = new JSONObject(message); Gift gift = new Gift(eventJSON["gift"]); HighwayEvents.OnGiftSendFinished(gift); }