-
Notifications
You must be signed in to change notification settings - Fork 243
/
CountlyAPMConfig.m
38 lines (30 loc) · 740 Bytes
/
CountlyAPMConfig.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// CountlyAPMConfig.m
//
// This code is provided under the MIT License.
//
// Please visit www.count.ly for more information.
#import "CountlyAPMConfig.h"
@implementation CountlyAPMConfig
long long appLoadStartTimeOverride;
- (instancetype)init
{
if (self = [super init])
{
}
return self;
}
- (void)setAppStartTimestampOverride:(long long)appStartTimeTimestamp
{
appLoadStartTimeOverride = appStartTimeTimestamp;
}
- (long long)getAppStartTimestampOverride
{
return appLoadStartTimeOverride;
}
- (void)enableAPMInternal:(BOOL)enableAPM
{
self.enableForegroundBackgroundTracking = enableAPM;
self.enableAppStartTimeTracking = enableAPM;
self.enableManualAppLoadedTrigger = enableAPM;
}
@end