InsightsLogger
This class is no longer available in the most recent version of the SDK.
A more recent version of this class is available. Check out the latest version.

This class is deprecated. Please use AppEventsLogger instead.

Extends:Object
Package:facebook
Class Methods
newLogger(Context, String)

Deprecated. Please use AppEventsLogger instead.

public static InsightsLogger newLogger(Context context, String clientToken)
ParameterDescription
context
clientToken
newLogger(Context, String, String)

Deprecated. Please use AppEventsLogger instead.

public static InsightsLogger newLogger(Context context, String clientToken, String applicationId)
ParameterDescription
context
clientToken
applicationId
newLogger(Context, String, String, Session)

Deprecated. Please use AppEventsLogger instead.

public static InsightsLogger newLogger(Context context, String clientToken, String applicationId, Session session)
ParameterDescription
context
clientToken
applicationId
session
Instance Methods
logPurchase(BigDecimal, Currency)

Deprecated. Please use AppEventsLogger instead.

public void logPurchase(BigDecimal purchaseAmount, Currency currency)
ParameterDescription
purchaseAmount
currency
logPurchase(BigDecimal, Currency, Bundle)

Deprecated. Please use AppEventsLogger instead.

public void logPurchase(BigDecimal purchaseAmount, Currency currency, Bundle parameters)
ParameterDescription
purchaseAmount
currency
parameters
logConversionPixel(String, double)

Deprecated. Please use AppEventsLogger instead.

public void logConversionPixel(String pixelId, double valueOfPixel)
ParameterDescription
pixelId
valueOfPixel