homebridge-sony-audio-extended 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/api.d.ts ADDED
@@ -0,0 +1,762 @@
1
+ /**
2
+ * Request to get a supported services and its information
3
+ * Docs [here](https://developer.sony.com/develop/audio-control-api/api-references/api-overview-2#_getsupportedapiinfo_v1_0).
4
+ */
5
+ export declare const ApiRequestSupportedApiInfo: {
6
+ id: number;
7
+ method: string;
8
+ params: {
9
+ services: null;
10
+ }[];
11
+ version: string;
12
+ };
13
+ /**
14
+ * Request to get a general system information for the device.
15
+ * Docs [here](https://developer.sony.com/develop/audio-control-api/api-references/api-overview-2#_getsysteminformation_v1_4).
16
+ */
17
+ export declare const ApiRequestSystemInformation: {
18
+ method: string;
19
+ id: number;
20
+ params: never[];
21
+ version: string;
22
+ };
23
+ /**
24
+ * Request to get an information about the current status of all external input and output terminal sources of the device.
25
+ * For a device that has no external input or output connectors, this APi should return an empty result with no error codes.
26
+ * Docs [here](https://developer.sony.com/develop/audio-control-api/api-references/api-overview-2#_getcurrentexternalterminalsstatus_v1_0).
27
+ */
28
+ export declare const ApiRequestCurrentExternalTerminalsStatus: {
29
+ method: string;
30
+ id: number;
31
+ params: never[];
32
+ version: string;
33
+ };
34
+ /**
35
+ * Gets the current volume level and mute status.
36
+ * Uses for init info about volume settings.
37
+ * Docs [here](https://developer.sony.com/develop/audio-control-api/api-references/api-overview-2#_getvolumeinformation_v1_1)
38
+ */
39
+ export declare const ApiRequestVolumeInformation: {
40
+ method: string;
41
+ id: number;
42
+ params: {}[];
43
+ version: string;
44
+ };
45
+ /**
46
+ * Gets the current power status of the device.
47
+ * Docs [here](https://developer.sony.com/develop/audio-control-api/api-references/api-overview-2#_getpowerstatus_v1_1)
48
+ */
49
+ export declare const ApiRequestGetPowerStatus: {
50
+ id: number;
51
+ method: string;
52
+ params: never[];
53
+ version: string;
54
+ };
55
+ /**
56
+ * This API provides the list of schemes that device can handle.
57
+ * Lib: `avContent`
58
+ * Docs [here](https://developer.sony.com/develop/audio-control-api/api-references/api-overview-2#_getschemelist_v1_0)
59
+ */
60
+ export declare const ApiRequestGetSchemeList: {
61
+ method: string;
62
+ id: number;
63
+ params: never[];
64
+ version: string;
65
+ };
66
+ /**
67
+ * This API provides information of WebAPI interface provided by the server.
68
+ * Lib: `system`
69
+ * This API must not include private information.
70
+ * Docs [here](https://developer.sony.com/develop/audio-control-api/api-references/api-overview-2#_getinterfaceinformation_v1_0)
71
+ */
72
+ export declare const ApiRequestGetInterfaceInformation: {
73
+ method: string;
74
+ id: number;
75
+ params: never[];
76
+ version: string;
77
+ };
78
+ export declare type ApiNotification = {
79
+ name: string;
80
+ version: string;
81
+ };
82
+ /**
83
+ * Api Response when receive notification
84
+ */
85
+ export interface ApiNotificationResponce {
86
+ method: string;
87
+ params: [];
88
+ version: string;
89
+ }
90
+ /**
91
+ * The notification sent by a device when its volume information or mute status changes.
92
+ * Docs [here](https://developer.sony.com/develop/audio-control-api/api-references/api-overview-2#_notifyvolumeinformation_v1_0)
93
+ */
94
+ export interface ApiResponceNotifyVolumeInformation {
95
+ method: NotificationMethods.VOLUME;
96
+ params: [
97
+ {
98
+ mute: 'on' | 'off' | 'toggle' | '';
99
+ output: string;
100
+ volume: number;
101
+ }
102
+ ];
103
+ version: string;
104
+ }
105
+ /**
106
+ * The notification sent by a device when its power status changes.
107
+ * Docs [here](https://developer.sony.com/develop/audio-control-api/api-references/api-overview-2#_notifypowerstatus_v1_0)
108
+ * and [here](https://developer.sony.com/develop/audio-control-api/api-references/api-overview-2#_getpowerstatus_v1_1)
109
+ */
110
+ export interface ApiResponceNotifyPowerStatus {
111
+ method: NotificationMethods.POWER;
112
+ params: [
113
+ PowerStatus
114
+ ];
115
+ version?: string;
116
+ }
117
+ /**
118
+ * The notification sent by a device when its current status of external input and output terminal sources changes.
119
+ * Docs [here](https://developer.sony.com/develop/audio-control-api/api-references/api-overview-2#_getcurrentexternalterminalsstatus_v1_0).
120
+ */
121
+ export interface ApiResponceNotifyExternalTerminalStatus {
122
+ method: NotificationMethods.TERMINAL;
123
+ params: [
124
+ ExternalTerminal
125
+ ];
126
+ version?: string;
127
+ }
128
+ /**
129
+ * Describes the device power status.
130
+ */
131
+ export interface PowerStatus {
132
+ /**
133
+ * Additional information for the standby power state. If this value is omitted or "", then no additional information is available.
134
+ * * `` - No additional information is available.
135
+ * * `normalStandby` - The device is in its normal standby state.
136
+ * * `quickStartStandby` - The device is in its quick-start standby state. The device can transition quickly to an active state.
137
+ */
138
+ standbyDetail?: 'normalStandby' | 'quickStartStandby' | '';
139
+ /**
140
+ * The current power status of the device.
141
+ * * `active` - The device is in the power-on state.
142
+ * * `standby` - The device is in the standby state.
143
+ * Network functions are active, and the device can switch to the power-on state via a network command.
144
+ * * `shuttingDown` - The device is switching to the power-off state.
145
+
146
+ */
147
+ status: 'activating' | 'active' | 'standby' | 'shuttingDown';
148
+ }
149
+ /**
150
+ * Provides an information about the current status of all external input and output terminal sources of the device.
151
+ * For a device that has no external input or output connectors or an empty.
152
+ * Docs [here](https://developer.sony.com/develop/audio-control-api/api-references/api-overview-2#_getcurrentexternalterminalsstatus_v1_0).
153
+ */
154
+ export interface ExternalTerminal {
155
+ /**
156
+ * The active status of the terminal.
157
+ * For a terminal type of "meta:zone:output", the active status indicates whether the zone is enabled.
158
+ * For all other terminal types, the active status indicates whether the source is selected as an input source for any output zone.
159
+ * * `` - The active status could not be determined.
160
+ * * `active` - The terminal is enabled or a selected input source.
161
+ * * `inactive` - The terminal is disabled or not a selected input source.
162
+ */
163
+ active?: '' | 'active' | 'inactive';
164
+ /**
165
+ * The connection status of the terminal.
166
+ * * `connected` - The terminal is connected.
167
+ * * `unconnected` - The terminal is not connected.
168
+ * * `unknown` - The connection status is unknown.
169
+ */
170
+ connection: 'connected' | 'unconnected' | 'unknown';
171
+ /**
172
+ * The icon URL that the service uses for the terminal, or "" if the service does not define an icon.
173
+ */
174
+ iconUrl?: string;
175
+ /**
176
+ * The label that the user assigned to this terminal.
177
+ * * (ex) `Game`
178
+ */
179
+ label?: string;
180
+ /**
181
+ * Describes the type of terminal.
182
+ * For example, this can provide a hint to an application as to which icon to show to the user.
183
+ */
184
+ meta?: TerminalTypeMeta;
185
+ /**
186
+ * An array of the URIs of the output terminals that are available for this input terminal.
187
+ * For more information about the URI structure,
188
+ * see the [Device Resource URI](https://developer.sony.com/develop/audio-control-api/api-references/device-uri) page.
189
+ * For an output terminal, this parameter is omitted or its value is null.
190
+ */
191
+ outputs?: string[];
192
+ /**
193
+ * The name of the input or output terminal.
194
+ * * (ex) `HDMI 2`
195
+ * * (ex) `Component 1`
196
+ */
197
+ title: string;
198
+ /**
199
+ * The URI of the external terminal.
200
+ * For more information about the URI structure,
201
+ * see the [Device Resource URI](https://developer.sony.com/develop/audio-control-api/api-references/device-uri) page.
202
+ * * (ex) `extInput:hdmi?port=2`
203
+ */
204
+ uri: string;
205
+ }
206
+ /**
207
+ * Responce of the current power status of the device.
208
+ * Docs [here](https://developer.sony.com/develop/audio-control-api/api-references/api-overview-2#_getpowerstatus_v1_1)
209
+ */
210
+ export interface ApiResponcePowerStatus {
211
+ id: number;
212
+ result: [
213
+ PowerStatus
214
+ ];
215
+ }
216
+ /**
217
+ * Describes the device volume settings.
218
+ */
219
+ export interface VolumeInformation {
220
+ /**
221
+ * The maximum volume level of the output; or -1 if no maximum value is available
222
+ * or if the device does not support setting the volume by an absolute value.
223
+ */
224
+ maxVolume?: number;
225
+ /**
226
+ * The minimum volume level of the output; or -1 if no minimum value is available
227
+ * or if the device does not support setting the volume by an absolute value.
228
+ */
229
+ minVolume?: number;
230
+ /**
231
+ * The current mute status of the output.
232
+ */
233
+ mute?: '' | 'off' | 'on' | 'toggle';
234
+ /**
235
+ * The URI of the output. For more information about the URI structure,
236
+ * see the [Device Resource URI](https://developer.sony.com/develop/audio-control-api/api-references/device-uri) page.
237
+ * "" refers to all outputs of the device.
238
+ */
239
+ output?: string;
240
+ /**
241
+ * The volume level step value for the output;
242
+ * or 0 if the device only supports setting the volume by an absolute value.
243
+ */
244
+ step?: number;
245
+ /**
246
+ * The current volume level of the output; or -1 if no volume information is available
247
+ * or if the device does not support setting the volume by an absolute value.
248
+ */
249
+ volume?: number;
250
+ }
251
+ /**
252
+ * Gets the current volume level and mute status.
253
+ */
254
+ export interface ApiResponceVolumeInformation {
255
+ id: number;
256
+ result: [
257
+ VolumeInformation[]
258
+ ];
259
+ }
260
+ /**
261
+ * Provides the list of schemes that device can handle.
262
+ */
263
+ export interface ApiResponceSchemeList {
264
+ id: number;
265
+ result: [
266
+ [
267
+ {
268
+ /**
269
+ * Scheme name. Refer to [here](https://developer.sony.com/develop/audio-control-api/api-references/device-uri)
270
+ * to know scheme and URI structure in detail.
271
+ */
272
+ scheme: string;
273
+ }
274
+ ]
275
+ ];
276
+ }
277
+ /**
278
+ * Provides an information about the current status of all external input and output terminal sources.
279
+ */
280
+ export interface ApiResponceExternalTerminalStatus {
281
+ id: number;
282
+ result: [
283
+ ExternalTerminal[]
284
+ ];
285
+ }
286
+ /**
287
+ * Describes the device playing content.
288
+ */
289
+ export interface PlayingContentInfo {
290
+ /**
291
+ * The source of the playing content, described by the base URI of the content, or "" if it is undefined.
292
+ */
293
+ source?: string;
294
+ /**
295
+ * The full URI of the playing content.
296
+ * For more information about the URI structure,
297
+ * see the [Device Resource URI](https://developer.sony.com/develop/audio-control-api/api-references/device-uri) page.
298
+ */
299
+ uri: string;
300
+ }
301
+ /**
302
+ * The notification sent by a device when its playing content or active input changes.
303
+ * Docs [here](https://developer.sony.com/develop/audio-control-api/api-references/api-overview-2#_notifyplayingcontentinfo_v1_0)
304
+ */
305
+ export interface ApiResponceNotifyPlayingContentInfo {
306
+ method: NotificationMethods.CONTENT;
307
+ params: [
308
+ PlayingContentInfo
309
+ ];
310
+ version: string;
311
+ }
312
+ /**
313
+ * Responce type for Subscribes and unsubscribes to multiple notifications at a time.
314
+ * Docs [here](https://developer.sony.com/develop/audio-control-api/api-references/api-overview-2#_switchnotifications_v1_0)
315
+ */
316
+ export declare type ApiResponceSwitchNotifications = {
317
+ id: number;
318
+ result: {
319
+ disabled: ApiNotification[];
320
+ enabled: ApiNotification[];
321
+ rejected: ApiNotification[];
322
+ unsupported: ApiNotification[];
323
+ }[];
324
+ };
325
+ /**
326
+ * Sets the audio volume level.
327
+ * Lib: `audio`
328
+ * Docs [here](https://developer.sony.com/develop/audio-control-api/api-references/api-overview-2#_setaudiovolume_v1_1)
329
+ */
330
+ export interface ApiRequestSetAudioVolume {
331
+ id: number;
332
+ method: 'setAudioVolume';
333
+ params: [
334
+ {
335
+ /**
336
+ * The URI of the output. For more information about the URI structure,
337
+ * see the [Device Resource URI](https://developer.sony.com/develop/audio-control-api/api-references/device-uri) page.
338
+ * Omit this field or use "" to affect all outputs for the device.
339
+ * * (ex) "extOutput:zone?zone=2"
340
+ */
341
+ output: string;
342
+ /**
343
+ * The volume level to set or adjustment to make.
344
+ * Use the getVolumeInformation method to determine whether the device uses absolute or relative values for this output.
345
+ * * `N` - Set the volume level to N, where N is an integer, for example, "25".
346
+ * * `+N` - Increase the volume level by N, where N is an integer, for example, "+14".
347
+ * * `-N` - Decrease the volume level by N, where N is an integer, for example, "-10".
348
+ */
349
+ volume: string;
350
+ }
351
+ ];
352
+ version: '1.1';
353
+ }
354
+ /**
355
+ * Sets the power status of the device.
356
+ * Lib: `system`
357
+ * Recommended setup:
358
+ * * QuickStart/Network Standby :ON
359
+ * * Required to receive commands while in standby mode.
360
+ * * EU STR is exception, it doesn't receive commands while in standby. Use WoL to turn on EU STR.
361
+ * * Remote Start : ON
362
+ * * Required to turn on by WoL.
363
+ * Docs [here](https://developer.sony.com/develop/audio-control-api/api-references/api-overview-2#_setpowerstatus_v1_1)
364
+ */
365
+ export interface ApiRequestSetPowerStatus {
366
+ id: number;
367
+ method: 'setPowerStatus';
368
+ /**
369
+ * Additional information for the standby power state. If this value is omitted or "", then no additional information is available.
370
+ */
371
+ params: [
372
+ {
373
+ /**
374
+ * Additional information for the standby power state. If this value is omitted or "",
375
+ * then no additional information is available.
376
+ */
377
+ standbyDetail?: string;
378
+ /**
379
+ * The current power status of the device, or the status to set.
380
+ * * `` - Changes the power status as if the remote power key is pressed. The power status is device and service dependent.
381
+ * * `active` - The device is in the power-on state.
382
+ * * `off` - The device is in the power-off state.
383
+ * * `standby` - The device is in the standby state. Network functions are active, and the device can switch to the power-on state
384
+ * via a network command. Not all products support standby, personalaudio products don't.
385
+ */
386
+ status: '' | 'active' | 'off' | 'standby';
387
+ }
388
+ ];
389
+ version: '1.1';
390
+ }
391
+ /**
392
+ * Sets the audio mute status.
393
+ * Lib: `audio`
394
+ */
395
+ export interface ApiRequestSetAudioMute {
396
+ id: number;
397
+ method: 'setAudioMute';
398
+ params: [
399
+ {
400
+ /**
401
+ * The mute status to set or adjustment to make.
402
+ * Use the getVolumeInformation method to determine whether the device uses on/off or toggle settings for this output.
403
+ * * `off` - Not muted.
404
+ * * `on` - Muted.
405
+ * * `toggle` - Toggle the mute setting.
406
+ */
407
+ mute: 'off' | 'on' | 'toggle';
408
+ /**
409
+ * The URI of the output. For more information about the URI structure,
410
+ * see the [Device Resource URI](https://developer.sony.com/develop/audio-control-api/api-references/device-uri) page.
411
+ * Omit this field or use "" to affect all outputs for the device.
412
+ * * (ex) "extOutput:zone?zone=2"
413
+ */
414
+ output?: string;
415
+ }
416
+ ];
417
+ version: '1.1';
418
+ }
419
+ /**
420
+ * Toggles between the play and pause states for the current content.
421
+ * Lib: `avContent`
422
+ * In the pause state, playback is suspended temporarily and can be restarted quickly.
423
+ * Docs [here](https://developer.sony.com/develop/audio-control-api/api-references/api-overview-2#_pauseplayingcontent_v1_1)
424
+ */
425
+ export interface ApiRequestPausePlayingContent {
426
+ method: 'pausePlayingContent';
427
+ id: number;
428
+ params: [
429
+ {
430
+ /**
431
+ * The URI of the output. Omit this field or use `` to affect all outputs for the device.
432
+ * For more information about the URI structure,
433
+ * see the [Device Resource URI](https://developer.sony.com/develop/audio-control-api/api-references/device-uri) page.
434
+ * * (ex) `extOutput:zone?zone=2`
435
+ */
436
+ output?: string;
437
+ }
438
+ ];
439
+ version: '1.1';
440
+ }
441
+ /**
442
+ * Sets the playing content or changes the active input.
443
+ * Lib: `avContent`
444
+ * This API can resume playback of content. This API also supports playlists.
445
+ * Some request parameters for changing the play mode; such as positionMSec, resume, repeatType, keepLastFrame, and so on;
446
+ * change volatile settings that affect the current playing state.
447
+ */
448
+ export interface ApiRequestSetPlayContent {
449
+ id: number;
450
+ method: 'setPlayContent';
451
+ params: [
452
+ {
453
+ /**
454
+ * Applies only to video content. Indicates whether to keep the last frame when playback stops,
455
+ * such as when the v1_1.stopPlayingContent or v1_1.pausePlayingContent method is called
456
+ * or when the end of the content is reached.
457
+ */
458
+ keepLastFrame?: boolean;
459
+ /**
460
+ * The URI of the output terminal to affect.
461
+ * To get information about the current status of all external output terminal sources of the device,
462
+ * see the v1_0.getCurrentExternalTerminalsStatus method.
463
+ * For more information about the URI structure,
464
+ * see the [Device Resource URI](https://developer.sony.com/develop/audio-control-api/api-references/device-uri) page.
465
+ */
466
+ output?: string;
467
+ /**
468
+ * The playing position within the content, in milliseconds.
469
+ * The default value, `-1`, indicates the beginning or last position, depending on the device and service.
470
+ */
471
+ positionMsec?: number;
472
+ /**
473
+ * @deprecated for unit consistency with other API.
474
+ * The position to be started by seek operation.
475
+ * Default value is `-1`. (It means a head of a content or last position.
476
+ * This depends on a server spec.)
477
+ */
478
+ positionSec?: number;
479
+ /**
480
+ * Indicates whether repeat playback is enabled for the unit of content that is currently playing.
481
+ * * `off` - Repeat playback is disabled.
482
+ * * `on` - Repeat playback is enabled.
483
+ */
484
+ repeatType?: 'off' | 'on';
485
+ /**
486
+ * Indicates the originator of the API call.
487
+ * The device may behave differently depending on the originator.
488
+ * * `ui` - This method was called in response to the user interacting directly with the device UI.
489
+ * * `user` - This method was called in response to some user action.
490
+ */
491
+ requester?: 'iu' | 'user';
492
+ /**
493
+ * True to resume play; otherwise, false.
494
+ */
495
+ resume?: boolean;
496
+ /**
497
+ * The URI of the input or source.
498
+ * To resume normal playback from a seek, pause, or stop status, set the URI to `null` or ``.
499
+ * For more information about the URI structure,
500
+ * see the [Device Resource URI](https://developer.sony.com/develop/audio-control-api/api-references/device-uri) page.
501
+ * Some devices can switch input or content to the previously selected content
502
+ * by specifying just the scheme or the scheme and source, for example **"tv:"** or **"tv:isdbt"**, respectively.
503
+ * For more information about the URIs supported for a given device, see the Supported URIs section
504
+ * of the **Home Theater** or **Personal Audio** page under the **Device Info** menu.
505
+ */
506
+ uri: string;
507
+ }
508
+ ];
509
+ version: '1.2';
510
+ }
511
+ /**
512
+ * Gets information about the playing content or current selected input.
513
+ * Lib: `avContent`
514
+ * If the device is not currently playing content, then the response state parameter is "STOPPED".
515
+ */
516
+ export interface ApiRequestPlayingContentInfo {
517
+ id: number;
518
+ method: 'getPlayingContentInfo';
519
+ params: [
520
+ {
521
+ /**
522
+ * The URI of the output. Omit this field or use `` to affect all outputs for the device.
523
+ * For more information about the URI structure,
524
+ * see the [Device Resource URI](https://developer.sony.com/develop/audio-control-api/api-references/device-uri) page.
525
+ * * (ex) "extOutput:zone?zone=2"
526
+ */
527
+ output?: string;
528
+ }
529
+ ];
530
+ version: '1.2';
531
+ }
532
+ /**
533
+ * Information about the playing content or current selected input.
534
+ */
535
+ export interface ApiResponcePlayingContentInfo {
536
+ id: number;
537
+ result: [
538
+ PlayingContentInfo[]
539
+ ];
540
+ }
541
+ /**
542
+ * Provides information of WebAPI interface provided by the server.
543
+ * This API must not include private information
544
+ * Docs [here](https://developer.sony.com/develop/audio-control-api/api-references/api-overview-2#_getinterfaceinformation_v1_0)
545
+ */
546
+ export interface ApiResponceInterfaceInformation {
547
+ id: number;
548
+ result: [
549
+ {
550
+ /**
551
+ * Version for client to change its behavior w.r.t significant difference within productCategory.
552
+ * This version is managed/controlled within each productCategory.
553
+ * This parameter is composed of "[X].[Y].[Z]", where [X], [Y] and [Z] are string representing integer
554
+ * and concatenated with period "." in between.
555
+ */
556
+ interfaceVersion: string;
557
+ /**
558
+ * Model name.
559
+ */
560
+ modelName: string;
561
+ /**
562
+ * Category name of device.
563
+ */
564
+ productCategory: 'camera' | 'tv' | 'internetTV' | 'videoServer' | 'homeTheaterSystem' | 'videoPlayer' | 'personalAudio';
565
+ /**
566
+ * More detail product information can be returned if productCategory is not enough.
567
+ */
568
+ productName: string;
569
+ /**
570
+ * Server name. In case device can launch multiple Scalar WebAPI servers, return this server's name for client to distinguish.
571
+ */
572
+ serverName: string;
573
+ }
574
+ ];
575
+ }
576
+ export declare class GenericApiError extends Error {
577
+ code: number;
578
+ constructor(message: string);
579
+ }
580
+ export declare class UnsupportedVersionApiError extends GenericApiError {
581
+ code: number;
582
+ constructor(message: string);
583
+ }
584
+ export declare class IncompatibleDeviceCategoryError extends Error {
585
+ constructor(message: string);
586
+ }
587
+ /**
588
+ * Describes the type of terminal.
589
+ * For example, this can provide a hint to an application as to which icon to show to the user.
590
+ * The type is provided using a "meta" URI format.
591
+ * Your application should customize its UI based on the type of the terminal, such as choosing an appropriate image.
592
+ * The following meta URIs are defined, not all are used by all products.
593
+ */
594
+ export declare const enum TerminalTypeMeta {
595
+ /**
596
+ *No meta information is available for this terminal
597
+ */
598
+ NO_INFO = "",
599
+ /**
600
+ * An audio system type CEC device is connected to the terminal
601
+ */
602
+ AUDIOSYSTEM = "meta:audiosystem",
603
+ /**
604
+ * An AV amplifier is connected to the terminal
605
+ */
606
+ AVAMP = "meta:avamp",
607
+ /**
608
+ * BD/DVD input
609
+ */
610
+ BD_DVD = "meta:bd-dvd",
611
+ /**
612
+ * Bluetooth audio input
613
+ */
614
+ BTAUDIO = "meta:btaudio",
615
+ /**
616
+ * BT phone input
617
+ */
618
+ BTPHONE = "meta:btphone",
619
+ /**
620
+ * A video camera is connected to the terminal
621
+ */
622
+ CAMCODER = "meta:camcoder",
623
+ /**
624
+ * Coaxial digital audio input
625
+ */
626
+ COAXIAL = "meta:coaxial",
627
+ /**
628
+ * A complex device is connected to the terminal
629
+ */
630
+ COMPLEX = "meta:complex",
631
+ /**
632
+ * Component input (Y and Pb/Cb and Pr/Cr connectors)
633
+ */
634
+ COMPONENT = "meta:component",
635
+ /**
636
+ * D-Component input
637
+ */
638
+ COMPONENTD = "meta:componentd",
639
+ /**
640
+ * Composite input
641
+ */
642
+ COMPOSITE = "meta:composite",
643
+ /**
644
+ * Composite and D-Component combined input
645
+ */
646
+ COMPOSITE_COMPONENTD = "meta:composite_componentd",
647
+ /**
648
+ * A digital camera is connected to the terminal
649
+ */
650
+ DIGITALCAMERA = "meta:digitalcamera",
651
+ /**
652
+ * A disk player is connected to the terminal
653
+ */
654
+ DISC = "meta:disc",
655
+ /**
656
+ * D-subminiature 15pin input
657
+ */
658
+ DSUB15 = "meta:dsub15",
659
+ /**
660
+ * A game console is connected to the terminal
661
+ */
662
+ GAME = "meta:game",
663
+ /**
664
+ * HDMI input
665
+ */
666
+ HDMI = "meta:hdmi",
667
+ /**
668
+ * HDMI output
669
+ */
670
+ HDMI_OUTPUT = "meta:hdmi:output",
671
+ /**
672
+ * A home theater device is connected to the terminal
673
+ */
674
+ HOMETHEATER = "meta:hometheater",
675
+ /**
676
+ * Axillary input
677
+ */
678
+ LINE = "meta:line",
679
+ /**
680
+ * A mini audio port, the exact hardware port is device dependent
681
+ */
682
+ LINEMINI = "meta:linemini",
683
+ /**
684
+ * Optical digital audio input
685
+ */
686
+ OPTICAL = "meta:optical",
687
+ /**
688
+ * A personal computer is connected to the terminal
689
+ */
690
+ PC = "meta:pc",
691
+ /**
692
+ * A playback type CEC device is connected to the terminal
693
+ */
694
+ PLAYBACKDEVICE = "meta:playbackdevice",
695
+ /**
696
+ * A recording type CEC device is connected to the terminal
697
+ */
698
+ RECORDINGDEVICE = "meta:recordingdevice",
699
+ /**
700
+ * SCART input
701
+ */
702
+ SCART = "meta:scart",
703
+ /**
704
+ * S-Video input
705
+ */
706
+ SVIDEO = "meta:svideo",
707
+ /**
708
+ * A tape player is connected to the terminal
709
+ */
710
+ TAPE = "meta:tape",
711
+ /**
712
+ * A tuner is connected to the terminal
713
+ */
714
+ TUNER = "meta:tuner",
715
+ /**
716
+ * A tuner type CEC device is connected to the terminal
717
+ */
718
+ TUNERDEVICE = "meta:tunerdevice",
719
+ /**
720
+ * A TV type CEC device is connected to the terminal
721
+ */
722
+ TV = "meta:tv",
723
+ /**
724
+ * USB DAC input
725
+ */
726
+ USBDAC = "meta:usbdac",
727
+ /**
728
+ * WiFi Display input
729
+ */
730
+ WIFIDISPLAY = "meta:wifidisplay",
731
+ /**
732
+ * Wireless transceiver
733
+ */
734
+ WIRELESSTRANSCEIVER_OUTPUT = "meta:wirelessTransceiver:output",
735
+ /**
736
+ * Source input
737
+ */
738
+ SOURCE = "meta:source",
739
+ /**
740
+ * SACD/CD input
741
+ */
742
+ SACD_CD = "meta:sacd-cd",
743
+ /**
744
+ * SAT/CATV input
745
+ */
746
+ SAT_CATV = "meta:sat-catv",
747
+ /**
748
+ * Video input
749
+ */
750
+ VIDEO = "meta:video",
751
+ /**
752
+ * Zone output
753
+ */
754
+ ZONE_OUTPUT = "meta:zone:output"
755
+ }
756
+ export declare const enum NotificationMethods {
757
+ POWER = "notifyPowerStatus",
758
+ VOLUME = "notifyVolumeInformation",
759
+ TERMINAL = "notifyExternalTerminalStatus",
760
+ CONTENT = "notifyPlayingContentInfo"
761
+ }
762
+ //# sourceMappingURL=api.d.ts.map