Facebook.IOSFacebook.AppEventsLogPurchase C# (CSharp) Method

AppEventsLogPurchase() public method

public AppEventsLogPurchase ( float logPurchase, string currency = "USD", object>.Dictionary parameters = null ) : void
logPurchase float
currency string
parameters object>.Dictionary
return void
        public override void AppEventsLogPurchase(
            float logPurchase,
            string currency = "USD",
            Dictionary<string, object> parameters = null)
        {
            NativeDict dict = MarshallDict(parameters);
            if (string.IsNullOrEmpty(currency))
            {
                currency = "USD";
            }
            iosFBAppEventsLogPurchase(logPurchase, currency, dict.numEntries, dict.keys, dict.vals);
        }