Exemplo n.º 1
0
 public override void AppEventsLogEvent(string logEvent, float?valueToSum, Dictionary <string, object> parameters)
 {
     IOSFacebook.NativeDict nativeDict = IOSFacebook.MarshallDict(parameters);
     if (valueToSum.HasValue)
     {
         this.iosWrapper.LogAppEvent(logEvent, (double)valueToSum.Value, nativeDict.NumEntries, nativeDict.Keys, nativeDict.Values);
     }
     else
     {
         this.iosWrapper.LogAppEvent(logEvent, 0.0, nativeDict.NumEntries, nativeDict.Keys, nativeDict.Values);
     }
 }
Exemplo n.º 2
0
 public override void AppEventsLogPurchase(float logPurchase, string currency, Dictionary <string, object> parameters)
 {
     IOSFacebook.NativeDict nativeDict = IOSFacebook.MarshallDict(parameters);
     this.iosWrapper.LogPurchaseAppEvent((double)logPurchase, currency, nativeDict.NumEntries, nativeDict.Keys, nativeDict.Values);
 }