commit | author | age
|
2e29a3
|
1 |
/* |
L |
2 |
* Copyright (c) Meta Platforms, Inc. and affiliates. |
|
3 |
* All rights reserved. |
|
4 |
* |
|
5 |
* This source code is licensed under the license found in the |
|
6 |
* LICENSE file in the root directory of this source tree. |
|
7 |
*/ |
|
8 |
|
|
9 |
#import <Foundation/Foundation.h> |
|
10 |
|
|
11 |
/** |
|
12 |
|
|
13 |
NS_ENUM (NSUInteger, FBSDKAppEventsFlushBehavior) |
|
14 |
|
|
15 |
Specifies when `FBSDKAppEvents` sends log events to the server. |
|
16 |
|
|
17 |
*/ |
|
18 |
typedef NS_ENUM(NSUInteger, FBSDKAppEventsFlushBehavior) { |
|
19 |
/** Flush automatically: periodically (once a minute or every 100 logged events) and always at app reactivation. */ |
|
20 |
FBSDKAppEventsFlushBehaviorAuto = 0, |
|
21 |
|
|
22 |
/** Only flush when the `flush` method is called. When an app is moved to background/terminated, the |
|
23 |
events are persisted and re-established at activation, but they will only be written with an |
|
24 |
explicit call to `flush`. */ |
|
25 |
FBSDKAppEventsFlushBehaviorExplicitOnly, |
|
26 |
} NS_SWIFT_NAME(AppEvents.FlushBehavior); |