public void didFailToLoadMoreApps(string dataString) { Hashtable data = (Hashtable)CBJSON.Deserialize(dataString); CBImpressionError error = impressionErrorFromInt(data["errorCode"]); if (didFailToLoadMoreAppsEvent != null) { didFailToLoadMoreAppsEvent(error); } }
public void didFailToLoadMoreApps(string dataString) { Hashtable hashtable = (Hashtable)CBJSON.Deserialize(dataString); CBManager.CBImpressionError obj = CBManager.impressionErrorFromInt(hashtable["errorCode"]); if (CBManager.didFailToLoadMoreAppsEvent != null) { CBManager.didFailToLoadMoreAppsEvent(obj); } }
public void didFailToLoadInterstitial(string dataString) { Hashtable data = (Hashtable)CBJSON.Deserialize(dataString); CBImpressionError error = impressionErrorFromInt(data["errorCode"]); if (didFailToLoadInterstitialEvent != null) { didFailToLoadInterstitialEvent(data["location"] as string, error); } }
public void didFailToLoadInterstitial(string dataString) { Hashtable hashtable = (Hashtable)CBJSON.Deserialize(dataString); CBManager.CBImpressionError arg = CBManager.impressionErrorFromInt(hashtable["errorCode"]); if (CBManager.didFailToLoadInterstitialEvent != null) { CBManager.didFailToLoadInterstitialEvent(hashtable["location"] as string, arg); } }
/// Tracks an event with a value and additional metadata public static void trackEventWithValueAndMetadata(string eventIdentifier, float val, Hashtable metadata) { if (!checkInitialized()) { return; } #if UNITY_ANDROID _plugin.Call("trackEventWithValueAndMetadata", eventIdentifier, val, CBJSON.Serialize(metadata)); #elif UNITY_IPHONE _chartBoostTrackEventWithValueAndMetadata(eventIdentifier, val, CBJSON.Serialize(metadata)); #endif }