-
Notifications
You must be signed in to change notification settings - Fork 0
/
ApiDefinition.cs
103 lines (79 loc) · 2.33 KB
/
ApiDefinition.cs
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
using System;
using System.Drawing;
using ObjCRuntime;
using Foundation;
using UIKit;
namespace FlurryBinding
{
[BaseType (typeof (NSObject), Name = "Flurry")]
partial interface FlurryApi
{
[Static]
[Export ("setAppVersion:")]
void SetAppVersion (string version);
[Static]
[Export ("getFlurryAgentVersion")]
string GetFlurryAgentVersion ();
[Static]
[Export ("setShowErrorInLogEnabled:")]
void SetShowErrorInLog (bool value);
[Static]
[Export ("setDebugLogEnabled:")]
void SetDebugLog (bool value);
[Static]
[Export ("setSessionContinueSeconds:")]
void SetSessionContinue (int seconds);
[Static]
[Export ("setSecureTransportEnabled:")]
void SetSecureTransportEnabled (bool value);
[Static]
[Export ("startSession:")]
void StartSession (string apiKey);
[Static]
[Export ("logEvent:")]
void LogEvent (string eventName);
[Static]
[Export ("logEvent:withParameters:")]
void LogEvent (string eventName, NSDictionary parameters);
[Static]
[Export ("logError:message:exception:")]
void LogError (string errorID, string message, NSException exception);
[Static]
[Export ("logError:message:error:")]
void LogError (string errorID, string message, NSError error);
[Static]
[Export ("logEvent:timed:")]
void LogEvent (string eventName, bool timed);
[Static]
[Export ("logEvent:withParameters:timed:")]
void LogEvent (string eventName, NSDictionary parameters, bool timed);
[Static]
[Export ("endTimedEvent:withParameters:")]
void EndTimedEvent (string eventName, [NullAllowed]NSDictionary parameters);
// automatically track page view on UINavigationController or UITabBarController
[Static]
[Export ("logAllPageViews:")]
void LogAllPageViews (NSObject target);
[Static]
[Export ("logPageView")]
void LogPageView ();
[Static]
[Export ("setUserID:")]
void SetUserId (string userId);
[Static]
[Export ("setAge:")]
void SetAge (int age);
[Static]
[Export ("setGender:")]
void SetGender (string gender);
[Static]
[Export ("setSessionReportsOnCloseEnabled:")]
void SetSessionReportsOnClose (bool sendSessionReportsOnClose);
[Static]
[Export ("setSessionReportsOnPauseEnabled:")]
void SetSessionReportsOnPause (bool setSessionReportsOnPauseEnabled);
[Static]
[Export ("setEventLoggingEnabled:")]
void SetEventLogging (bool value);
}
}