-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathconstants.go
43 lines (39 loc) · 1.64 KB
/
constants.go
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
package sdk
const (
CommonAction = "action"
CommonEvent = "event"
CommonContext = "context"
CommonPayload = "payload"
CommonDevice = "device"
CommonDeviceInfo = "deviceInfo"
EventKeyDown = "keyDown"
EventKeyUp = "keyUp"
EventWillAppear = "willAppear"
EventWillDisappear = "willDisappear"
EventDeviceDidConnect = "deviceDidConnect"
EventDeviceDidDisconnect = "deviceDidDisconnect"
EventApplicationDidLaunch = "applicationDidLaunch"
EventApplicationDidTerminate = "applicationDidTerminate"
EventTitleParametersDidChange = "titleParametersDidChange"
EventDidReceiveSettings = "didReceiveSettings"
EventDidReceiveGlobalSettings = "didReceiveGlobalSettings"
EventPropertyInspectorDidAppear = "propertyInspectorDidAppear"
EventPropertyInspectorDidDisappear = "propertyInspectorDidDisappear"
EventSetTitle = "setTitle"
EventSetImage = "setImage"
EventShowAlert = "showAlert"
EventShowOK = "showOk"
EventGetSettings = "getSettings"
EventSetSettings = "setSettings"
EventGetGlobalSettings = "getGlobalSettings"
EventSetGlobalSettings = "setGlobalSettings"
EventSetState = "setState"
EventSwitchToProfile = "switchToProfile"
EventSendToPropertyInspector = "sendToPropertyInspector"
EventSendToPlugin = "sendToPlugin"
EventOpenURL = "openUrl"
EventLogMessage = "logMessage"
TargetBoth = 0
TargetHardware = 1
TargetSoftware = 2
)