| | |
| | | of methods on `FBSDKAppEvents`. Common event names are provided in the `FBAppEventName*` constants. |
| | | */ |
| | | |
| | | /** |
| | | * Parameter key used to specify data for the one or more pieces of content being logged about. |
| | | * Data should be a JSON encoded string. |
| | | * Example: |
| | | * "[{\"id\": \"1234\", \"quantity\": 2, \"item_price\": 5.99}, {\"id\": \"5678\", \"quantity\": 1, \"item_price\": 9.99}]" |
| | | */ |
| | | FBSDK_EXTERN NSString *const FBSDKAppEventParameterNameContent; |
| | | |
| | | /** Parameter key used to specify an ID for the specific piece of content being logged about. Could be an EAN, article identifier, etc., depending on the nature of the app. */ |
| | | FBSDK_EXTERN NSString *const FBSDKAppEventParameterNameContentID; |
| | | |
| | |
| | | |
| | | /** |
| | | |
| | | Notifies the events system that the app has launched and, when appropriate, logs an "activated app" event. Should typically be placed in the |
| | | Notifies the events system that the app has launched and, when appropriate, logs an "activated app" event. |
| | | This function is called automatically from FBSDKApplicationDelegate applicationDidBecomeActive, unless |
| | | one overrides 'FacebookAutoLogAppEventsEnabled' key to false in the project info plist file. |
| | | In case 'FacebookAutoLogAppEventsEnabled' is set to false, then it should typically be placed in the |
| | | app delegates' `applicationDidBecomeActive:` method. |
| | | |
| | | This method also takes care of logging the event indicating the first time this app has been launched, which, among other things, is used to |
| | |
| | | */ |
| | | |
| | | /** |
| | | Sets a device token to register the current application installation for push notifications. |
| | | Sets and sends device token to register the current application for push notifications. |
| | | |
| | | |
| | | |
| | | Sets a device token from `NSData` representation that you get from `UIApplicationDelegate.-application:didRegisterForRemoteNotificationsWithDeviceToken:`. |
| | | Sets and sends a device token from `NSData` representation that you get from `UIApplicationDelegate.-application:didRegisterForRemoteNotificationsWithDeviceToken:`. |
| | | |
| | | - Parameter deviceToken: Device token data. |
| | | */ |