/
dji_unity_event_type.go
51 lines (48 loc) · 1.12 KB
/
dji_unity_event_type.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
44
45
46
47
48
49
50
51
package unitybridge
type DJIUnityEventType int32
const (
SetValue DJIUnityEventType = iota
GetValue
GetAvailableValue
PerformAction
StartListening
StopListening
Activation
LocalAlbum
FirmwareUpgrade
Connection DJIUnityEventType = 100
Security DJIUnityEventType = 101
PrintLog DJIUnityEventType = 200
StartVideo DJIUnityEventType = 300
StopVideo DJIUnityEventType = 301
Render DJIUnityEventType = 302
GetNativeTexture DJIUnityEventType = 303
VideoTransferSpeed DJIUnityEventType = 304
AudioDataRecv DJIUnityEventType = 305
VideoDataRecv DJIUnityEventType = 306
NativeFunctions DJIUnityEventType = 500
)
func DJIUnityEventTypes() []DJIUnityEventType {
return []DJIUnityEventType{
SetValue,
GetValue,
GetAvailableValue,
PerformAction,
StartListening,
StopListening,
Activation,
LocalAlbum,
FirmwareUpgrade,
Connection,
Security,
PrintLog,
StartVideo,
StopVideo,
Render,
GetNativeTexture,
VideoTransferSpeed,
AudioDataRecv,
VideoDataRecv,
NativeFunctions,
}
}