-
Notifications
You must be signed in to change notification settings - Fork 2
/
flurry.monkey
39 lines (32 loc) · 929 Bytes
/
flurry.monkey
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
Private
#if TARGET="ios" Or TARGET="android"
Import "native/flurry.${TARGET}.${LANG}"
Extern
#if TARGET="ios"
Class Flurry
Function Init:Void(apiKey$)="Flurry::Init"
Function LogEvent:Void(eventName$)="Flurry::LogEvent"
Function LogEventTimed:Void(eventName$)="Flurry::LogEventTimed"
Function EndTimedEvent:Void(eventName$)="Flurry::EndTimedEvent"
End
#elseif TARGET="android"
Class Flurry
Function Init:Void(apiKey$)="Flurry.Init"
Function LogEvent:Void(eventName$)="Flurry.LogEvent"
Function LogEventTimed:Void(eventName$)="Flurry.LogEventTimed"
Function EndTimedEvent:Void(eventName$)="Flurry.EndTimedEvent"
End
#end
#else
Public
Class Flurry
Function Init:Void(apiKey$)
End
Function LogEvent:Void(eventName$)
End
Function LogEventTimed:Void(eventName$)
End
Function EndTimedEvent:Void(eventName$)
End
End
#end