forked from ConnectSDK/ConnectSDKReactNativeAPISampler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCapabilities.js
217 lines (216 loc) · 5.97 KB
/
Capabilities.js
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
capabilities = {
VolumeControl: {
toString: function () { return ""; },
Get: "VolumeControl.Get",
Set: "VolumeControl.Set",
UpDown: "VolumeControl.UpDown",
Subscribe: "VolumeControl.Subscribe",
Mute: {
toString: function () { return ""; },
Get: "VolumeControl.Mute.Get",
Set: "VolumeControl.Mute.Set",
Subscribe: "VolumeControl.Mute.Subscribe"
}
},
MediaPlayer: {
toString: function () { return ""; },
Display: {
toString: function () { return ""; },
Image: "MediaPlayer.Display.Image"
},
Play: {
toString: function () { return ""; },
Video: "MediaPlayer.Play.Video",
Audio: "MediaPlayer.Play.Audio",
Playlist: "MediaPlayer.Play.Playlist"
},
Close: "MediaPlayer.Close",
MetaData: {
toString: function () { return ""; },
Title: "MediaPlayer.MetaData.Title",
Description: "MediaPlayer.MetaData.Description",
Thumbnail: "MediaPlayer.MetaData.Thumbnail",
MimeType: "MediaPlayer.MetaData.MimeType"
},
MediaInfo: {
toString: function () { return ""; },
Get: "MediaPlayer.MediaInfo.Get",
Subscribe: "MediaPlayer.MediaInfo.Subscribe"
},
Subtitle: {
toString: function () { return ""; },
WebVTT: "MediaPlayer.Subtitle.WebVTT",
SRT: "MediaPlayer.Subtitle.SRT"
},
Loop: "MediaPlayer.Loop"
},
TextInputControl: {
toString: function () { return ""; },
Send: "TextInputControl.Send",
Enter: "TextInputControl.Enter",
Delete: "TextInputControl.Delete",
Subscribe: "TextInputControl.Subscribe"
},
MouseControl: {
toString: function () { return ""; },
Connect: "MouseControl.Connect",
Disconnect: "MouseControl.Connect",
Click: "MouseControl.Click",
Move: "MouseControl.Move",
Scroll: "MouseControl.Scroll"
},
KeyControl: {
toString: function () { return ""; },
Up: "KeyControl.Up",
Down: "KeyControl.Down",
Left: "KeyControl.Left",
Right: "KeyControl.Right",
OK: "KeyControl.OK",
Back: "KeyControl.Back",
Home: "KeyControl.Home",
KeyCode: "KeyControl.KeyCode"
},
Launcher: {
toString: function () { return ""; },
App: {
toString: function () { return "Launcher.App"; },
Params: "Launcher.App.Params",
Close: "Launcher.App.Close",
List: "Launcher.App.List"
},
Browser: {
toString: function () { return "Launcher.Browser"; },
Params: "Launcher.Browser.Params"
},
Hulu: {
toString: function () { return "Launcher.Hulu"; },
Params: "Launcher.Hulu.Params"
},
Netflix: {
toString: function () { return "Launcher.Netflix"; },
Params: "Launcher.Netflix.Params"
},
YouTube: {
toString: function () { return "Launcher.YouTube"; },
Params: "Launcher.YouTube.Params"
},
AppStore: {
toString: function () { return "Launcher.AppStore"; },
Params: "Launcher.AppStore.Params"
},
AppState: {
toString: function () { return "Launcher.AppState"; },
Subscribe: "Launcher.AppState.Subscribe"
},
RunningApp: {
toString: function () { return "Launcher.RunningApp"; },
Subscribe: "Launcher.RunningApp.Params"
},
Levak: "Launcher.Levak"
},
TVControl: {
toString: function () { return ""; },
Channel: {
toString: function () { return ""; },
Get: "TVControl.Channel.Get",
Set: "TVControl.Channel.Set",
Up: "TVControl.Channel.Up",
Down: "TVControl.Channel.Down",
List: "TVControl.Channel.List",
Subscribe: "TVControl.Channel.Subscribe"
},
Program: {
toString: function () { return ""; },
Get: "TVControl.Program.Get",
List: {
toString: function () { return "TVControl.Program.List"; },
Subscribe: "TVControl.Program.List.Subscribe"
},
Subscribe: "TVControl.Program.Subscribe"
},
"3D": {
toString: function () { return ""; },
Get: "TVControl.3D.Get",
Set: "TVControl.3D.Set",
Subscribe: "TVControl.3D.Subscribe"
}
},
ExternalInputControl: {
toString: function () { return ""; },
Picker: {
toString: function () { return ""; },
Launch: "ExternalInputControl.Picker.Launch",
Close: "ExternalInputControl.Picker.Close"
},
List: "ExternalInputControl.List",
Set: "ExternalInputControl.Set"
},
PowerControl: {
toString: function () { return ""; },
On: "PowerControl.On",
Off: "PowerControl.Off"
},
ToastControl: {
toString: function () { return ""; },
Show: {
toString: function () { return "ToastControl.Show"; },
Toast: "ToastControl.Show.Toast",
Clickable: {
toString: function () { return "ToastControl.Show.Clickable"; },
App: {
toString: function () { return "ToastControl.Show.Clickable.App"; },
Params: "ToastControl.Show.Clickable.App.Params"
},
URL: "ToastControl.Show.Clickable.URL"
}
}
},
WebAppLauncher: {
toString: function () { return ""; },
Launch: {
toString: function () { return "WebAppLauncher.Launch"; },
Params: "WebAppLauncher.Launch.Params"
},
Message: {
toString: function () { return ""; },
Send: {
toString: function () { return "WebAppLauncher.Message.Send"; },
JSON: "WebAppLauncher.Message.Send.JSON"
},
Receive: {
toString: function () { return "WebAppLauncher.Message.Receive"; },
JSON: "WebAppLauncher.Message.Receive.JSON"
}
},
Connect: "WebAppLauncher.Connect",
Disconnect: "WebAppLauncher.Disconnect",
Join: "WebAppLauncher.Join",
Close: "WebAppLauncher.Close",
Pin: "WebAppLauncher.Pin"
},
MediaControl: {
toString: function () { return ""; },
Play: "MediaControl.Play",
Pause: "MediaControl.Pause",
Stop: "MediaControl.Stop",
Rewind: "MediaControl.Rewind",
FastForward: "MediaControl.FastForward",
Seek: "MediaControl.Seek",
Previous: "MediaControl.Previous",
Next: "MediaControl.Next",
Duration: "MediaControl.Duration",
PlayState: {
toString: function () { return "MediaControl.PlayState"; },
Subscribe: "MediaControl.PlayState.Subscribe"
},
Position: "MediaControl.Position"
},
PlaylistControl: {
toString: function () { return ""; },
JumpToTrack: "PlaylistControl.JumpToTrack",
Next: "PlaylistControl.Next",
Previous: "PlaylistControl.Previous",
SetPlayMode: "PlaylistControl.SetPlayMode"
}
};
module.exports = capabilities;