AppEventsConstants

Predefined event and parameter names for logging events common to many apps. Logging occurs through the AppEventsLogger.logEvent(String, android.os.Bundle) family of methods.

Estende:Object
Pacote:appevents
Construtores
AppEventsConstants()
public AppEventsConstants()
Constantes
EVENT_NAME_ACTIVATED_APP
Log this event when an app is being activated.
public static final String EVENT_NAME_ACTIVATED_APP
EVENT_NAME_DEACTIVATED_APP
public static final String EVENT_NAME_DEACTIVATED_APP
EVENT_NAME_SESSION_INTERRUPTIONS
public static final String EVENT_NAME_SESSION_INTERRUPTIONS
EVENT_NAME_TIME_BETWEEN_SESSIONS
public static final String EVENT_NAME_TIME_BETWEEN_SESSIONS
EVENT_NAME_COMPLETED_REGISTRATION
Log this event when the user has completed registration with the app.
public static final String EVENT_NAME_COMPLETED_REGISTRATION
EVENT_NAME_VIEWED_CONTENT
Log this event when the user has viewed a form of content in the app.
public static final String EVENT_NAME_VIEWED_CONTENT
EVENT_NAME_SEARCHED
Log this event when the user has performed a search within the app.
public static final String EVENT_NAME_SEARCHED
EVENT_NAME_RATED
Log this event when the user has rated an item in the app. The valueToSum passed to logEvent should be the numeric rating.
public static final String EVENT_NAME_RATED
EVENT_NAME_COMPLETED_TUTORIAL
Log this event when the user has completed a tutorial in the app.
public static final String EVENT_NAME_COMPLETED_TUTORIAL
EVENT_NAME_ADDED_TO_CART
Log this event when the user has added an item to their cart. The valueToSum passed to logEvent should be the item's price.
public static final String EVENT_NAME_ADDED_TO_CART
EVENT_NAME_ADDED_TO_WISHLIST
Log this event when the user has added an item to their wishlist. The valueToSum passed to logEvent should be the item's price.
public static final String EVENT_NAME_ADDED_TO_WISHLIST
EVENT_NAME_INITIATED_CHECKOUT
Log this event when the user has entered the checkout process. The valueToSum passed to logEvent should be the total price in the cart.
public static final String EVENT_NAME_INITIATED_CHECKOUT
EVENT_NAME_ADDED_PAYMENT_INFO
Log this event when the user has entered their payment info.
public static final String EVENT_NAME_ADDED_PAYMENT_INFO
EVENT_NAME_PURCHASED
public static final String EVENT_NAME_PURCHASED
EVENT_NAME_ACHIEVED_LEVEL
Log this event when the user has achieved a level in the app.
public static final String EVENT_NAME_ACHIEVED_LEVEL
EVENT_NAME_UNLOCKED_ACHIEVEMENT
Log this event when the user has unlocked an achievement in the app.
public static final String EVENT_NAME_UNLOCKED_ACHIEVEMENT
EVENT_NAME_SPENT_CREDITS
Log this event when the user has spent app credits. The valueToSum passed to logEvent should be the number of credits spent.
public static final String EVENT_NAME_SPENT_CREDITS
EVENT_PARAM_CURRENCY
Parameter key used to specify currency used with logged event. E.g. "USD", "EUR", "GBP". See ISO-4217 for specific values.
public static final String EVENT_PARAM_CURRENCY
EVENT_PARAM_REGISTRATION_METHOD
Parameter key used to specify the method the user has used to register for the app, e.g., "Facebook", "email", "Twitter", etc.
public static final String EVENT_PARAM_REGISTRATION_METHOD
EVENT_PARAM_CONTENT_TYPE
Parameter key used to specify a generic content type/family for the logged event, e.g. "music", "photo", "video". Options to use will vary depending on the nature of the app.
public static final String EVENT_PARAM_CONTENT_TYPE
EVENT_PARAM_CONTENT_ID
Parameter key used to specify an ID for the specific piece of content being logged about. This could be an EAN, article identifier, etc., depending on the nature of the app.
public static final String EVENT_PARAM_CONTENT_ID
EVENT_PARAM_SEARCH_STRING
Parameter key used to specify the string provided by the user for a search operation.
public static final String EVENT_PARAM_SEARCH_STRING
EVENT_PARAM_SUCCESS
Parameter key used to specify whether the activity being logged about was successful or not. EVENT_PARAM_VALUE_YES and EVENT_PARAM_VALUE_NO are good canonical values to use for this parameter.
public static final String EVENT_PARAM_SUCCESS
EVENT_PARAM_MAX_RATING_VALUE
Parameter key used to specify the maximum rating available for the EVENT_NAME_RATE event. E.g., "5" or "10".
public static final String EVENT_PARAM_MAX_RATING_VALUE
EVENT_PARAM_PAYMENT_INFO_AVAILABLE
Parameter key used to specify whether payment info is available for the EVENT_NAME_INITIATED_CHECKOUT event. EVENT_PARAM_VALUE_YES and EVENT_PARAM_VALUE_NO are good canonical values to use for this parameter.
public static final String EVENT_PARAM_PAYMENT_INFO_AVAILABLE
EVENT_PARAM_NUM_ITEMS
Parameter key used to specify how many items are being processed for an EVENT_NAME_INITIATED_CHECKOUT or EVENT_NAME_PURCHASE event.
public static final String EVENT_PARAM_NUM_ITEMS
EVENT_PARAM_LEVEL
Parameter key used to specify the level achieved in an EVENT_NAME_LEVEL_ACHIEVED event.
public static final String EVENT_PARAM_LEVEL
EVENT_PARAM_DESCRIPTION
Parameter key used to specify a description appropriate to the event being logged. E.g., the name of the achievement unlocked in the EVENT_NAME_ACHIEVEMENT_UNLOCKED event.
public static final String EVENT_PARAM_DESCRIPTION
EVENT_PARAM_SOURCE_APPLICATION
Parameter key used to specify source application package.
public static final String EVENT_PARAM_SOURCE_APPLICATION
EVENT_PARAM_VALUE_YES
Yes-valued parameter value to be used with parameter keys that need a Yes/No value
public static final String EVENT_PARAM_VALUE_YES
EVENT_PARAM_VALUE_NO
No-valued parameter value to be used with parameter keys that need a Yes/No value
public static final String EVENT_PARAM_VALUE_NO