HBBTV  22.3.0
hbbtv_js.h
Go to the documentation of this file.
1 /*******************************************************************************
2  * Copyright © 2014 The DTVKit Open Software Foundation Ltd (www.dtvkit.org)
3  * Copyright © 2014 Ocean Blue Software Ltd
4  *
5  * This file is part of a DTVKit Software Component
6  * You are permitted to copy, modify or distribute this file subject to the terms
7  * of the DTVKit 1.0 Licence which can be found in licence.txt or at www.dtvkit.org
8  *
9  * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
10  * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES
11  * OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
12  *
13  * If you or your organisation is not a member of DTVKit then you have access
14  * to this source code outside of the terms of the licence agreement
15  * and you are expected to delete this and any associated files immediately.
16  * Further information on DTVKit, membership and terms can be found at www.dtvkit.org
17  *******************************************************************************/
26 /* pre-processor mechanism so multiple inclusions don't cause compilation error*/
27 
28 #ifndef HBBTV_JS_H
29 
30 #define HBBTV_JS_H
31 
32 #include "techtype.h"
33 #include "hbbtv_types.h"
34 
35 
36 /*---Constant and macro definitions for public use-----------------------------*/
37 
38 /*---Enumerations for public use-----------------------------------------------*/
39 
43 typedef enum
44 {
45  HBBTV_JSKeySet_RED = 0x1,
46  HBBTV_JSKeySet_GREEN = 0x2,
47  HBBTV_JSKeySet_YELLOW = 0x4,
48  HBBTV_JSKeySet_BLUE = 0x8,
49  HBBTV_JSKeySet_NAVIGATION = 0x10,
50  HBBTV_JSKeySet_VCR = 0x20,
51  HBBTV_JSKeySet_SCROLL = 0x40,
52  HBBTV_JSKeySet_INFO = 0x80,
53  HBBTV_JSKeySet_NUMERIC = 0x100,
54  HBBTV_JSKeySet_ALPHA = 0x200,
55  HBBTV_JSKeySet_OTHER = 0x400
57 
61 typedef enum
62 {
63  HBBTV_JSSearchManager_STATE_COMPLETED = 0,
64  HBBTV_JSSearchManager_STATE_ABORTED = 3,
65  HBBTV_JSSearchManager_STATE_NO_RESOURCES = 4
67 
71 typedef enum
72 {
73  HBBTV_JSMetadataSearch_TARGET_SCHEDULED_CONTENT = 1,
74  HBBTV_JSMetadataSearch_TARGET_ON_DEMAND_CONTENT = 2
76 
80 typedef enum
81 {
82  HBBTV_JSMetadataSearch_COMPARISON_EQUAL = 0,
83  HBBTV_JSMetadataSearch_COMPARISON_NOT_EQUAL = 1,
84  HBBTV_JSMetadataSearch_COMPARISON_GREATER = 2,
85  HBBTV_JSMetadataSearch_COMPARISON_GREATER_EQUAL = 3,
86  HBBTV_JSMetadataSearch_COMPARISON_LESS = 4,
87  HBBTV_JSMetadataSearch_COMPARISON_LESS_EQUAL = 5,
88  HBBTV_JSMetadataSearch_COMPARISON_CONTAINS = 6
90 
94 typedef enum
95 {
96  HBBTV_JSAVComponent_TYPE_UNKNOWN = -1,
97  HBBTV_JSAVComponent_TYPE_VIDEO = 0,
98  HBBTV_JSAVComponent_TYPE_AUDIO = 1,
99  HBBTV_JSAVComponent_TYPE_SUBTITLE = 2
101 
105 typedef enum
106 {
107  HBBTV_JSVideoBroadcast_NO_ERROR = -1,
108  HBBTV_JSVideoBroadcast_NOT_SUPPORTED = 0,
109  HBBTV_JSVideoBroadcast_CANNOT_TUNE,
110  HBBTV_JSVideoBroadcast_TUNER_NOT_AVAILABLE,
111  HBBTV_JSVideoBroadcast_PARENTAL_LOCK,
112  HBBTV_JSVideoBroadcast_ENCRYPTED,
113  HBBTV_JSVideoBroadcast_UNKNOWN_CHANNEL,
114  HBBTV_JSVideoBroadcast_INTERRUPTED,
115  HBBTV_JSVideoBroadcast_RECORDING,
116  HBBTV_JSVideoBroadcast_UNKNOWN_URI,
117  HBBTV_JSVideoBroadcast_NO_BANDWITH,
118  HBBTV_JSVideoBroadcast_CH_UP_DOWN_FORBIDDEN,
119  HBBTV_JSVideoBroadcast_NO_RESOURCES,
120  HBBTV_JSVideoBroadcast_CHANNEL_NOT_PRESENT,
121  HBBTV_JSVideoBroadcast_UNIDENTIFIED = 100,
123 
124 typedef enum
125 {
126  BROADCAST_STATE_UNREALIZED = 0,
127  BROADCAST_STATE_CONNECTING,
128  BROADCAST_STATE_PRESENTING,
129  BROADCAST_STATE_STOPPED
130 } E_HBBTV_BROADCAST_STATE;
131 
132 typedef enum
133 {
134  HBBTV_SE_STATUS_ERROR,
135  HBBTV_SE_STATUS_TRIGGER
136 } E_HBBTV_SE_STATUS;
137 
138 typedef struct
139 {
140  S_HBBTV_STRING name;
141  S_HBBTV_STRING data;
142  S_HBBTV_STRING text;
143  E_HBBTV_SE_STATUS status;
145 
146 typedef enum
147 {
148  HBBTV_JSVideoBroadcast_UNREALIZED = 0,
149  HBBTV_JSVideoBroadcast_NEWLY_SCHEDULED = 1,
150  HBBTV_JSVideoBroadcast_REC_STARTING = 2,
151  HBBTV_JSVideoBroadcast_REC_RESOURCES = 3,
152  HBBTV_JSVideoBroadcast_REC_STARTED = 4,
153  HBBTV_JSVideoBroadcast_REC_UPDATED = 5,
154  HBBTV_JSVideoBroadcast_REC_COMPLETED = 6,
155  HBBTV_JSVideoBroadcast_TS_RESOURCES = 10,
156  HBBTV_JSVideoBroadcast_TS_STARTED = 11
157 } HBBTV_JSVideoBroadcast_RECORDING_STATE;
158 
159 typedef enum
160 {
161  HBBTV_JSVideoBroadcast_REC_NO_ERROR = -1,
162  HBBTV_JSVideoBroadcast_REC_NO_RESOURCES = 0,
163  HBBTV_JSVideoBroadcast_REC_NO_SPACE = 1,
164  HBBTV_JSVideoBroadcast_REC_CONFLICT = 2,
165  HBBTV_JSVideoBroadcast_REC_NOT_PERMITTED = 3,
166  HBBTV_JSVideoBroadcast_REC_UNKNOWN = 4,
167  HBBTV_JSVideoBroadcast_TS_NO_RESOURCES = 10,
168  HBBTV_JSVideoBroadcast_TS_NOT_PERMITTED = 11,
169  HBBTV_JSVideoBroadcast_TS_UNKNOWN = 12,
170 } HBBTV_JSVideoBroadcast_RECORDING_ERROR;
171 
175 typedef enum
176 {
177  HBBTV_JSChannel_TYPE_TV = 0,
178  HBBTV_JSChannel_TYPE_RADIO = 1,
179  HBBTV_JSChannel_TYPE_OTHER = 2,
180  HBBTV_JSChannel_TYPE_HBBTV_DATA = 256
182 
183 typedef enum
184 {
185  HBBTV_Channel_ID_ANALOG = 0,
186  HBBTV_Channel_ID_DVB_C = 10,
187  HBBTV_Channel_ID_DVB_S = 11,
188  HBBTV_Channel_ID_DVB_T = 12,
189  HBBTV_Channel_ID_DVB_SI_DIRECT = 13,
190  HBBTV_Channel_ID_DVB_C2 = 14,
191  HBBTV_Channel_ID_DVB_S2 = 15,
192  HBBTV_Channel_ID_DVB_T2 = 16,
193  HBBTV_Channel_ID_ISDB_C = 20,
194  HBBTV_Channel_ID_ISDB_S = 21,
195  HBBTV_Channel_ID_ISDB_T = 22,
196  HBBTV_Channel_ID_ATSC_T = 30,
197  HBBTV_Channel_ID_IPTV_SDS = 40,
198  HBBTV_Channel_ID_IPTV_URI = 41
199 } HBBTV_JSChannel_ID;
200 
204 typedef enum
205 {
206  HBBTV_AVControl_NO_ERROR = -1, /* no error */
207  HBBTV_AVControl_FORMAT_NOT_SUPPORTED = 0, /* 0 - A/V format not supported */
208  HBBTV_AVControl_CONNECTION_ERROR, /* 1 - cannot connect to server or connection lost.*/
209  HBBTV_AVControl_UNDEFINED, /* 2 - unidentified error */
210  HBBTV_AVControl_NO_RESOURCES, /* 3 – insufficient resources */
211  HBBTV_AVControl_CORRUPT, /* 4 – content corrupt or invalid */
212  HBBTV_AVControl_NOT_AVAILABLE, /* 5 – content not available */
213  HBBTV_AVControl_NOT_AVAILABLE_POSITION, /* 6 – content not available at given position */
214  HBBTV_AVControl_BLOCKED /* 7 - content blocked due to parental control */
216 
220 typedef enum
221 {
222  HBBTV_JSProgrammeID_TVA_CRID = 0,
223  HBBTV_JSProgrammeID_DVB_EVENT = 1
225 
226 typedef enum
227 {
228  HBBTV_JSScheduledRecording_SCHEDULED = 0,
229  HBBTV_JSScheduledRecording_STARTED,
230  HBBTV_JSScheduledRecording_COMPLETED,
231  HBBTV_JSScheduledRecording_PARTIALLY_COMPLETED,
232  HBBTV_JSScheduledRecording_ERROR
233 } HBBTV_JSScheduledRecording_STATE;
234 
235 typedef enum
236 {
237  HBBTV_JSObjType_String,
238  HBBTV_JSObjType_Channel,
239  HBBTV_JSObjType_Programme,
240  HBBTV_JSObjType_AVComponent,
241  HBBTV_JSObjType_ParentalRating,
242  HBBTV_JSObjType_ParentalRatingScheme,
243  HBBTV_JSObjType_ScheduledRecording,
244  HBBTV_JSObjType_NetworkInterface,
245  HBBTV_JSObjType_Collection,
246  HBBTV_JSObjType_Other
247 } HBBTV_JSObjType_CONST;
248 
249 
250 /*---Global type defs for public use-------------------------------------------*/
251 
255 typedef void (*F_AppMgr_onLowMemory)(void *app_mgr);
256 
260 typedef void (*F_AppMgr_onApplicationLoadError)(void *app_mgr);
261 
265 typedef void (*F_SearchManager_onMetadataSearch)(void *search_manager, void *metadata_search, HBBTV_JSSearchManager_State state);
266 
270 typedef void (*F_Broadcast_onFullScreenChange)(void *video_broadcast);
271 
275 typedef void (*F_Broadcast_onChannelChangeError)(void *video_broadcast, void *channel,
277 
281 typedef void (*F_Broadcast_onChannelChangeSucceeded)(void *video_broadcast, void *channel);
282 
286 typedef void (*F_Broadcast_onPlayStateChange)(void *video_broadcast, E_HBBTV_BROADCAST_STATE state,
288 
292 typedef void (*F_Broadcast_onProgrammesChanged)(void *video_broadcast);
293 
297 typedef void (*F_Broadcast_onParentalRatingChange)(void *video_broadcast, void *content_id,
298  void *parental_ratings, void *drm_system_id, BOOLEAN blocked);
299 
303 typedef void (*F_Broadcast_onParentalRatingError)(void *video_broadcast, void *content_id,
304  void *parental_ratings, void *drm_system_id);
305 
309 typedef void (*F_Broadcast_onStreamEvent)(void *video_broadcast, U32BIT listener_id, S_HBBTV_SE_INFO *event);
310 
314 typedef void (*F_Broadcast_onSelectedComponentChanged)(void *video_broadcast, HBBTV_JSAVComponent_Type type);
315 
319 typedef void (*F_Broadcast_onRecordingEvent)(void *video_broadcast, HBBTV_JSVideoBroadcast_RECORDING_STATE state,
320  HBBTV_JSVideoBroadcast_RECORDING_ERROR error, void *id);
321 
325 typedef void (*F_Broadcast_onPlaySpeedChanged)(void *video_broadcast, float speed);
326 
330 typedef void (*F_Broadcast_onPlayPositionChanged)(void *video_broadcast, U32BIT position);
331 
335 typedef void (*F_Broadcast_onDRMRightsError)(void *video_broadcast, U8BIT error_state,
336  void *content_id, void *drm_system_id, void *rights_issuer_url);
337 
341 typedef void (*F_AVControl_onPlayStateChange)(void *avControl);
342 
346 typedef void (*F_AVControl_onFullScreenChange)(void *avControl);
347 
351 typedef void (*F_AVControl_onPlayPositionChanged)(void *avControl, U32BIT position);
352 
357 
361 typedef void (*F_AVControl_onDRMRightsError)(void *av_control, U8BIT error_state,
362  void *content_id, void *drm_system_id, void *rights_issuer_url);
363 
367 typedef void (*F_DRMAgent_onDRMMessageResult)(void *drm_agent, void *message_id,
368  void *message_result, U8BIT result_code);
369 
373 typedef void (*F_DRMAgent_onDRMSystemMessage)(void *drm_agent, void *message, void *drm_system_id);
374 
375 typedef struct
376 {
377  F_AppMgr_onLowMemory AppMgr_onLowMemory;
378  F_AppMgr_onApplicationLoadError AppMgr_onApplicationLoadError;
379  F_SearchManager_onMetadataSearch SearchManager_onMetadataSearch;
380  F_AVControl_onPlayStateChange AVControl_onPlayStateChange;
381  F_AVControl_onFullScreenChange AVControl_onFullScreenChange;
382  F_AVControl_onPlayPositionChanged AVControl_onPlayPositionChanged;
383  F_AVControl_onSelectedComponentChanged AVControl_onSelectedComponentChanged;
384  F_AVControl_onDRMRightsError AVControl_onDRMRightsError;
385  F_Broadcast_onFullScreenChange Broadcast_onFullScreenChange;
386  F_Broadcast_onChannelChangeError Broadcast_onChannelChangeError;
387  F_Broadcast_onChannelChangeSucceeded Broadcast_onChannelChangeSucceeded;
388  F_Broadcast_onPlayStateChange Broadcast_onPlayStateChange;
389  F_Broadcast_onProgrammesChanged Broadcast_onProgrammesChanged;
390  F_Broadcast_onParentalRatingChange Broadcast_onParentalRatingChange;
391  F_Broadcast_onParentalRatingError Broadcast_onParentalRatingError;
392  F_Broadcast_onSelectedComponentChanged Broadcast_onSelectedComponentChanged;
393  F_Broadcast_onStreamEvent Broadcast_onStreamEvent;
394  F_Broadcast_onRecordingEvent Broadcast_onRecordingEvent;
395  F_Broadcast_onPlaySpeedChanged Broadcast_onPlaySpeedChanged;
396  F_Broadcast_onPlayPositionChanged Broadcast_onPlayPositionChanged;
397  F_Broadcast_onDRMRightsError Broadcast_onDRMRightsError;
398  F_DRMAgent_onDRMMessageResult DRMAgent_onDRMMessageResult;
399  F_DRMAgent_onDRMSystemMessage DRMAgent_onDRMSystemMessage;
401 
402 
403 /*---Global Function prototypes for public use---------------------------------*/
404 
405 /***************************************************************************/
406 /* class: oipfObjectFactory */
407 /* reference: Section 7.1 */
408 /***************************************************************************/
409 
414 
419 
424 
429 
434 
439 
444 
449 
454 
459 
460 
461 /***************************************************************************/
462 /* class: application/oipfApplicationManager */
463 /* reference: Section 7.2.1 */
464 /***************************************************************************/
465 
469 void* HBBTV_JSOipfAppMgr_getOwnerApp(void *app_mgr, S_HBBTV_STRING *url);
470 
471 void HBBTV_AppMgr_loadXmlAit(void *app_mgr, U8BIT *data, U32BIT size, S_HBBTV_STRING *url);
472 
473 
474 /***************************************************************************/
475 /* class: Application */
476 /* reference: Section 7.2.2 */
477 /***************************************************************************/
478 
482 void* HBBTV_JSApp_getPrivateData(void *app);
483 
487 void* HBBTV_JSApp_createApp(void *app, S_HBBTV_STRING *uri, BOOLEAN create_child);
488 
492 void HBBTV_JSApp_destroyApp(void *app);
493 
497 void HBBTV_JSApp_show(void *app);
498 
502 void HBBTV_JSApp_hide(void *app);
503 
504 
505 /***************************************************************************/
506 /* class: ApplicationPrivateData */
507 /* reference: Section 7.2.4 */
508 /***************************************************************************/
509 
513 void* HBBTV_JSAppPrivateData_getKeyset(void *app_private_data);
514 
518 S32BIT HBBTV_JSAppPrivateData_getFreeMem(void *app_private_data);
519 
523 void* HBBTV_JSAppPrivateData_getCurrentChannel(void *app_private_data);
524 
525 
526 /***************************************************************************/
527 /* class: KeySet */
528 /* reference: Section 7.2.5 */
529 /***************************************************************************/
530 
534 S32BIT HBBTV_JSKeySet_getValue(void *key_set);
535 
539 S32BIT HBBTV_JSKeySet_getMaximumValue(void *key_set);
540 
544 S32BIT HBBTV_JSKeySet_setValue(void *key_set, S32BIT value);
545 
552 U32BIT HBBTV_JSKeySet_getOtherKeys(void *obj, U32BIT **other_keys);
553 
554 
555 /***************************************************************************/
556 /* class: application/oipfConfiguration */
557 /* reference: Section 7.3.1 */
558 /***************************************************************************/
559 
563 void* HBBTV_JSOipfConfig_getConfig(void *config);
564 
570 void* HBBTV_JSOipfConfig_getLocalSystem(void *obj);
571 
572 
573 /***************************************************************************/
574 /* class: Configuration */
575 /* reference: Section 7.3.2 */
576 /***************************************************************************/
577 
582 void* HBBTV_JSConfig_getPreferredAudioLang(void *config);
583 
588 void* HBBTV_JSConfig_getPreferredSubtitleLang(void *config);
589 
595 void* HBBTV_JSConfig_getPreferredUILang(void *config);
596 
602 void* HBBTV_JSConfig_getCountryId(void *config);
603 
604 
605 /***************************************************************************/
606 /* class: application/oipfParentalControlManager */
607 /* reference: Section 7.9.1 */
608 /***************************************************************************/
609 
613 void* HBBTV_JSOipfParentalControlMgr_getParentalRatingSchemes(void *parental_control_mgr);
614 
615 
616 /***************************************************************************/
617 /* class: application/oipfSearchManager */
618 /* reference: Section 7.12.1 */
619 /***************************************************************************/
620 
626 void* HBBTV_JSOipfSearchManager_createSearch(void *search_manager, HBBTV_JSMetadataSearch_Target search_target);
627 
632 void* HBBTV_JSOipfSearchManager_getChannelConfig(void *search_manager);
633 
634 
635 /***************************************************************************/
636 /* class: MetadataSearch class */
637 /* reference: Section 7.12.2 */
638 /***************************************************************************/
639 
646 
652 void* HBBTV_JSMetadataSearch_getResult(void *metadata_search);
653 
657 void HBBTV_JSMetadataSearch_setQuery(void *metadata_search, void *query);
658 
662 void HBBTV_JSMetadataSearch_addChannelConstraint(void *metadata_search, void *channel);
663 
668 void* HBBTV_JSMetadataSearch_createQuery(void *metadata_search, S_HBBTV_STRING *field,
670 
674 void HBBTV_JSMetadataSearch_findProgrammesFromStream(void *metadata_search, void *channel, U32BIT start_time);
675 
676 
677 /***************************************************************************/
678 /* class: Query class */
679 /* reference: Section 7.12.3 */
680 /***************************************************************************/
681 
685 void* HBBTV_JSQuery_and(void *query, void *operand_query);
686 
690 void* HBBTV_JSQuery_or(void *query, void *operand_query);
691 
695 void* HBBTV_JSQuery_not(void *query);
696 
697 
698 /***************************************************************************/
699 /* class: SearchResults class */
700 /* reference: Section 7.12.4 */
701 /***************************************************************************/
702 
706 U32BIT HBBTV_JSSearchResults_getOffset(void *search_result);
707 
711 U32BIT HBBTV_JSSearchResults_getTotalSize(void *search_result);
712 
716 BOOLEAN HBBTV_JSSearchResults_getResults(void *search_result, U32BIT offset, U32BIT count);
717 
721 void HBBTV_JSSearchResults_abort(void *search_result);
722 
723 
724 /***************************************************************************/
725 /* class: AVComponent */
726 /* reference: Section 7.16.5.2 */
727 /***************************************************************************/
728 
732 U32BIT HBBTV_JSAVComponent_getType(void *av_component);
733 
737 void* HBBTV_JSAVComponent_getEncoding(void *av_component);
738 
742 BOOLEAN HBBTV_JSAVComponent_getEncrypted(void *av_component);
743 
747 float HBBTV_JSAVComponent_getAspectRatio(void *av_component);
748 
752 void* HBBTV_JSAVComponent_getLanguage(void *av_component);
753 
757 BOOLEAN HBBTV_JSAVComponent_getAudioDescription(void *av_component);
758 
762 U32BIT HBBTV_JSAVComponent_getAudioChannels(void *av_component);
763 
767 BOOLEAN HBBTV_JSAVComponent_getHearingImpaired(void *av_component);
768 
772 S8BIT HBBTV_JSAVComponent_getComponentTag(void *obj);
773 
777 U16BIT HBBTV_JSAVComponent_getPid(void *obj);
778 
779 
780 /***************************************************************************/
781 /* class: video/broadcast */
782 /* reference: Section 7.13.1 */
783 /***************************************************************************/
784 
785 void HBBTV_JSVideoBroadcast_setPosition(void *video_broadcast, S32BIT x, S32BIT y);
786 
790 S32BIT HBBTV_JSVideoBroadcast_getWidth(void *video_broadcast);
791 
795 void HBBTV_JSVideoBroadcast_setWidth(void *video_broadcast, S32BIT width);
796 
800 S32BIT HBBTV_JSVideoBroadcast_getHeight(void *video_broadcast);
801 
805 void HBBTV_JSVideoBroadcast_setHeight(void *video_broadcast, S32BIT height);
806 
815 void HBBTV_JSVideoBroadcast_setVideoWindow(void *obj, S32BIT x, S32BIT y, S32BIT width, S32BIT height);
816 
820 BOOLEAN HBBTV_JSVideoBroadcast_getFullScreen(void *video_broadcast);
821 
825 E_HBBTV_BROADCAST_STATE HBBTV_JSVideoBroadcast_getPlayState(void *video_broadcast);
826 
830 void* HBBTV_JSVideoBroadcast_getData(void *video_broadcast);
831 
835 void HBBTV_JSVideoBroadcast_setData(void *video_broadcast, S_HBBTV_STRING *data);
836 
840 void* HBBTV_JSVideoBroadcast_getChannelConfig(void *video_broadcast);
841 
845 void HBBTV_JSVideoBroadcast_bindToCurrentChannel(void *video_broadcast);
846 
852 void* HBBTV_JSVideoBroadcast_createChannelObject(void *video_broadcast,
853  S32BIT id_type, S_HBBTV_STRING *dsd,
854  S32BIT sid);
855 
861 void* HBBTV_JSVideoBroadcast_createChannelObject2(void *video_broadcast,
862  S32BIT id_type, S32BIT onid,
863  S32BIT tsid, S32BIT sid,
864  S32BIT source_id,
865  S_HBBTV_STRING *ip_broadcast_id);
866 
871 void HBBTV_JSVideoBroadcast_setChannel(void *video_broadcast, void *channel,
872  BOOLEAN trickplay,
873  S_HBBTV_STRING *content_access_desc_url);
874 
878 void HBBTV_JSVideoBroadcast_prevChannel(void *video_broadcast);
879 
883 void HBBTV_JSVideoBroadcast_nextChannel(void *video_broadcast);
884 
888 void HBBTV_JSVideoBroadcast_setFullScreen(void *video_broadcast,
889  BOOLEAN fullscreen);
890 
894 void HBBTV_JSVideoBroadcast_release(void *video_broadcast);
895 
899 void HBBTV_JSVideoBroadcast_stop(void *video_broadcast);
900 
904 void* HBBTV_JSVideoBroadcast_getCurrentChannel(void *video_broadcast);
905 
909 void* HBBTV_JSVideoBroadcast_getProgrammes(void *video_broadcast);
910 
916 void* HBBTV_JSVideoBroadcast_getComponents(void *video_broadcast, HBBTV_JSAVComponent_Type type);
917 
922 
926 void HBBTV_JSVideoBroadcast_selectComponent(void *video_broadcast, void *component);
927 
932 
936 void HBBTV_JSVideoBroadcast_unselectComponent(void *video_broadcast, void *component);
937 
942 
946 BOOLEAN HBBTV_JSVideoBroadcast_addStreamEventListener(void *video_broadcast, S_HBBTV_STRING dvb_url,
947  S_HBBTV_STRING name, U32BIT listener_id);
948 
949 BOOLEAN HBBTV_JSVideoBroadcast_loadStreamEventListener(void *video_broadcast, S_HBBTV_STRING xml_data,
950  S_HBBTV_STRING name, U32BIT listener_id);
951 
955 BOOLEAN HBBTV_JSVideoBroadcast_removeStreamEventListener(void *video_broadcast, S_HBBTV_STRING name, U32BIT listener_id);
956 
962 void* HBBTV_JSVideoBroadcast_recordNow(void *obj, S32BIT duration);
963 
969 
973 HBBTV_JSVideoBroadcast_RECORDING_STATE HBBTV_JSVideoBroadcast_getRecordingState(void *video_broadcast);
974 
978 float HBBTV_JSVideoBroadcast_getPlaySpeed(void *video_broadcast);
979 
983 U32BIT HBBTV_JSVideoBroadcast_getPlayPosition(void *video_broadcast);
984 
985 
986 /***************************************************************************/
987 /* class: ChannelConfig */
988 /* reference: Section 7.13.9 */
989 /***************************************************************************/
990 
994 void* HBBTV_JSChannelConfig_getChannelList(void *obj);
995 
996 
997 /***************************************************************************/
998 /* class: ChannelList */
999 /* reference: Section 7.13.10 */
1000 /***************************************************************************/
1001 
1005 void* HBBTV_JSChannelList_getChannel(void *obj, S_HBBTV_STRING *channel_id);
1006 
1010 void* HBBTV_JSChannelList_getChannelByTriplet(void *obj, S32BIT onid, S32BIT tsid, S32BIT sid);
1011 
1012 
1013 /***************************************************************************/
1014 /* class: Channel */
1015 /* reference: Section 7.13.11 */
1016 /***************************************************************************/
1017 
1021 S32BIT HBBTV_JSChannel_getChannelType(void *channel);
1022 
1026 void* HBBTV_JSChannel_getCcid(void *channel);
1027 
1033 void* HBBTV_JSChannel_getDsd(void *channel);
1034 
1038 S32BIT HBBTV_JSChannel_getOnid(void *channel);
1039 
1043 S32BIT HBBTV_JSChannel_getTsid(void *channel);
1044 
1048 S32BIT HBBTV_JSChannel_getSid(void *channel);
1049 
1053 void* HBBTV_JSChannel_getName(void *channel);
1054 
1059 S32BIT HBBTV_JSChannel_getNid(void *obj);
1060 
1066 S32BIT HBBTV_JSChannel_getMajorChannel(void *obj);
1067 
1073 BOOLEAN HBBTV_JSChannel_getLocked(void *obj);
1074 
1079 BOOLEAN HBBTV_JSChannel_getHidden(void *obj);
1080 
1085 void* HBBTV_JSChannel_getGenre(void *obj);
1086 
1087 
1088 /***************************************************************************/
1089 /* class: A/V Control */
1090 /* reference: CEA-2014-A Section 5.7.1 */
1091 /***************************************************************************/
1092 
1097 
1102 
1107 
1112 
1116 void* HBBTV_JSAVControl_getData(void *avControl);
1117 
1121 void HBBTV_JSAVControl_setData(void *avControl, S_HBBTV_STRING *data);
1122 
1126 U32BIT HBBTV_JSAVControl_getPlayPosition(void *avControl);
1127 
1131 U32BIT HBBTV_JSAVControl_getPlayTime(void *avControl);
1132 
1136 S32BIT HBBTV_JSAVControl_getPlayState(void *avControl);
1137 
1141 S32BIT HBBTV_JSAVControl_getError(void *avControl);
1142 
1147 S32BIT HBBTV_JSAVControl_getNrTracks(void *avControl);
1148 
1152 S32BIT HBBTV_JSAVControl_getSpeed(void *avControl);
1153 
1157 S32BIT HBBTV_JSAVControl_getCurrentTrackIndex(void *avControl);
1158 
1162 void HBBTV_JSAVControl_setCurrentTrackIndex(void *avControl, S32BIT trackIndex);
1163 
1167 BOOLEAN HBBTV_JSAVControl_getPersist(void *avControl);
1168 
1173 void HBBTV_JSAVControl_setPersist(void *avControl, BOOLEAN persist);
1174 
1178 BOOLEAN HBBTV_JSAVControl_play(void *avControl, S32BIT speed);
1179 
1183 BOOLEAN HBBTV_JSAVControl_stop(void *avControl);
1184 
1188 BOOLEAN HBBTV_JSAVControl_seek(void *avControl, U32BIT pos);
1189 
1193 BOOLEAN HBBTV_JSAVControl_setVolume(void *avControl, S32BIT volume);
1194 
1199 BOOLEAN HBBTV_JSAVControl_next(void *avControl);
1200 
1204 BOOLEAN HBBTV_JSAVControl_previous(void *avControl);
1205 
1209 S32BIT HBBTV_JSAVControl_getWidth(void *avControl);
1210 
1214 void HBBTV_JSAVControl_setWidth(void *avControl, S32BIT width);
1215 
1219 S32BIT HBBTV_JSAVControl_getHeight(void *avControl);
1220 
1224 void HBBTV_JSAVControl_setHeight(void *avControl, S32BIT height);
1225 
1229 BOOLEAN HBBTV_JSAVControl_getFullScreen(void *avControl);
1230 
1234 void HBBTV_JSAVControl_setFullScreen(void *avControl, BOOLEAN fullscreen);
1235 
1241 void HBBTV_JSAVControl_setPosition(void *avControl, S32BIT x, S32BIT y);
1242 
1246 void* HBBTV_JSAVControl_getComponents(void *avControl, HBBTV_JSAVComponent_Type component_type);
1247 
1251 void* HBBTV_JSAVControl_getCurrentActiveComponents(void *avControl, HBBTV_JSAVComponent_Type component_type);
1252 
1256 void HBBTV_JSAVControl_selectComponent(void *avControl, void *component);
1257 
1261 void HBBTV_JSAVControl_selectComponentType(void *avControl, HBBTV_JSAVComponent_Type component_type);
1262 
1266 void HBBTV_JSAVControl_unselectComponent(void *avControl, void *component);
1267 
1272 
1277 void HBBTV_JSAVControl_setCache(void *avControl, BOOLEAN cache);
1278 
1283 void HBBTV_JSAVControl_setLoop(void *avControl, S32BIT loopParam);
1284 
1288 BOOLEAN HBBTV_JSAVControl_queue(void *avControl, S_HBBTV_STRING *url);
1289 
1293 BOOLEAN HBBTV_JSAVControl_setSource(void *avControl, S_HBBTV_STRING *id);
1294 
1295 
1296 /***************************************************************************/
1297 /* class: ParentalRatingScheme */
1298 /* reference: Section 7.9.2 */
1299 /***************************************************************************/
1300 
1304 void* HBBTV_JSParentalRatingScheme_getName(void *parental_rating_scheme);
1305 
1309 U32BIT HBBTV_JSParentalRatingScheme_getLength(void *parental_rating_scheme);
1310 
1314 void* HBBTV_JSParentalRatingScheme_getThreshold(void *parental_rating_scheme);
1315 
1319 S32BIT HBBTV_JSParentalRatingScheme_indexOf(void *parental_rating_scheme, S_HBBTV_STRING *ratingValue);
1320 
1324 void* HBBTV_JSParentalRatingScheme_item(void *parental_rating_scheme, U32BIT index);
1325 
1329 void* HBBTV_JSParentalRatingScheme_iconUri(void *parental_rating_scheme, U32BIT index);
1330 
1331 
1332 /***************************************************************************/
1333 /* class: ParentalRatingSchemeCollection */
1334 /* reference: Section 7.9.3 */
1335 /***************************************************************************/
1336 
1340 void* HBBTV_JSCollection_addParentalRatingScheme(void *collection, S_HBBTV_STRING *name,
1341  S_HBBTV_STRING *values);
1342 
1346 void* HBBTV_JSCollection_getParentalRatingScheme(void *collection, S_HBBTV_STRING *name);
1347 
1348 
1349 /***************************************************************************/
1350 /* class: ParentalRating */
1351 /* reference: Section 7.9.4 */
1352 /***************************************************************************/
1353 
1357 void* HBBTV_JSParentalRating_getName(void *parental_rating);
1358 
1362 void* HBBTV_JSParentalRating_getScheme(void *parental_rating);
1363 
1367 U32BIT HBBTV_JSParentalRating_getValue(void *parental_rating);
1368 
1372 U32BIT HBBTV_JSParentalRating_getLabels(void *parental_rating);
1373 
1377 void* HBBTV_JSParentalRating_getRegion(void *parental_rating);
1378 
1379 
1380 /***************************************************************************/
1381 /* class: ParentalRatingCollection */
1382 /* reference: Section 7.9.5 */
1383 /***************************************************************************/
1384 
1388 void HBBTV_JSCollection_addParentalRating(void *collection,
1389  S_HBBTV_STRING *scheme, S_HBBTV_STRING *name, U32BIT value, U32BIT labels, S_HBBTV_STRING *region);
1390 
1391 
1392 /***************************************************************************/
1393 /* class application/oipfCapabilities */
1394 /* reference: Section 7.15.3 */
1395 /***************************************************************************/
1396 
1402 
1409 
1416 
1420 BOOLEAN HBBTV_JSOipfCapabilities_hasCapability(void *obj, S_HBBTV_STRING *profileName);
1421 
1429 
1430 
1431 /***************************************************************************/
1432 /* class: Programme */
1433 /* reference: Section 7.16.2 */
1434 /***************************************************************************/
1435 
1439 void* HBBTV_JSProgramme_getName(void *programme);
1440 
1444 void* HBBTV_JSProgramme_getProgrammeID(void *programme);
1445 
1449 U32BIT HBBTV_JSProgramme_getProgrammeIDType(void *programme);
1450 
1454 void* HBBTV_JSProgramme_getDescription(void *programme);
1455 
1459 void* HBBTV_JSProgramme_getLongDescription(void *programme);
1460 
1464 U32BIT HBBTV_JSProgramme_getStartTime(void *programme);
1465 
1469 U32BIT HBBTV_JSProgramme_getDuration(void *programme);
1470 
1474 void* HBBTV_JSProgramme_getChannelID(void *programme);
1475 
1479 void* HBBTV_JSProgramme_getParentalRatings(void *programme);
1480 
1484 void* HBBTV_JSProgramme_getSIDescriptors(void *programme, S32BIT desc_tag_id, S32BIT ext_desc_tag_id);
1485 
1490 U32BIT HBBTV_JSProgramme_getAudioType(void *obj);
1491 
1495 BOOLEAN HBBTV_JSProgramme_getIsMultilingual(void *obj);
1496 
1502 void* HBBTV_JSProgramme_getAudioLanguages(void *obj);
1503 
1507 BOOLEAN HBBTV_JSProgramme_getIsHd(void *obj);
1508 
1514 void* HBBTV_JSProgramme_getGenre(void *obj);
1515 
1520 BOOLEAN HBBTV_JSProgramme_getHasRecording(void *obj);
1521 
1527 void* HBBTV_JSProgramme_getRecording(void *obj);
1528 
1529 
1530 /***************************************************************************/
1531 /* class: ScheduledRecording */
1532 /* reference: Section 7.10.2 */
1533 /***************************************************************************/
1534 
1539 
1543 void HBBTV_JSScheduledRecording_setStartPadding(void *obj, S32BIT start_padding);
1544 
1549 
1553 void HBBTV_JSScheduledRecording_setEndPadding(void *obj, S32BIT end_padding);
1554 
1558 void* HBBTV_JSScheduledRecording_getName(void *obj);
1559 
1563 void HBBTV_JSScheduledRecording_setName(void *obj, S_HBBTV_STRING *name);
1564 
1569 
1574 
1578 void HBBTV_JSScheduledRecording_setDescription(void *obj, S_HBBTV_STRING *description);
1579 
1583 U32BIT HBBTV_JSScheduledRecording_getStartTime(void *obj);
1584 
1588 U32BIT HBBTV_JSScheduledRecording_getDuration(void *obj);
1589 
1593 HBBTV_JSScheduledRecording_STATE HBBTV_JSScheduledRecording_getState(void *obj);
1594 
1599 
1603 void* HBBTV_JSScheduledRecording_getChannel(void *obj);
1604 
1605 /***************************************************************************/
1606 /* class: Recording */
1607 /* reference: Section 7.10.5 */
1608 /***************************************************************************/
1609 
1614 void* HBBTV_JSScheduledRecording_getId(void *obj);
1615 
1620 
1625 
1626 
1627 /***************************************************************************/
1628 /* class: application/OipfRecordingScheduler */
1629 /* reference: Section 7.10.1 */
1630 /***************************************************************************/
1631 
1636 
1640 void* HBBTV_JSOipfRecordingScheduler_record(void *obj, void *programme);
1641 
1646 
1651 void* HBBTV_JSOipfRecordingScheduler_recordAt(void *obj, U32BIT start_time, U32BIT duration,
1652  U8BIT repeat_days, S_HBBTV_STRING *channel_id);
1653 
1658 
1662 void HBBTV_JSOipfRecordingScheduler_remove(void *obj, void *scheduled_recording);
1663 
1668 
1669 /***************************************************************************/
1670 /* Collection Functions */
1671 /***************************************************************************/
1672 
1676 U32BIT HBBTV_JSCollection_getLength(void *collection);
1677 
1681 void* HBBTV_JSCollection_getItem(void *collection, U32BIT index);
1682 
1683 /***************************************************************************/
1684 /* String Functions */
1685 /***************************************************************************/
1686 
1693 
1699 U16BIT* HBBTV_JSString_getString16(void *string);
1700 
1706 U8BIT* HBBTV_JSString_getString8(void *string);
1707 
1712 void HBBTV_JSString_releaseString(U8BIT *utf_string);
1713 
1720 U32BIT HBBTV_JSString_utf8ByteLen(void *obj);
1721 
1728 void HBBTV_JSString_utf8CopyData(void *obj, U8BIT *output);
1729 
1735 U32BIT HBBTV_JSString_strlen(void *obj);
1736 
1737 /***************************************************************************/
1738 /* Utility Functions */
1739 /***************************************************************************/
1740 
1745 HBBTV_JSObjType_CONST HBBTV_JSObject_type(void *obj);
1746 
1752 void* HBBTV_JSObject_incref(void *obj);
1753 
1758 void HBBTV_JSObject_release(void *obj);
1759 
1760 void HBBTV_JSObjectPrint(void);
1761 
1772 void HBBTV_JSObject_addObjectReference(void *obj, void *reference);
1773 
1783 void HBBTV_JSObject_removeObjectReference(void *obj, void *reference);
1784 
1798 void HBBTV_JSObject_getObjectReferences(void *obj, void ***references, U32BIT *number);
1799 
1807 void HBBTV_JSObject_releaseObjectReferences(void *obj, void **references);
1808 
1809 
1810 /***************************************************************************/
1811 /* LocalSystem class */
1812 /***************************************************************************/
1813 
1819 void *HBBTV_JSLocalSystem_getDeviceID(void *obj);
1820 
1826 void *HBBTV_JSLocalSystem_getVendorName(void *obj);
1827 
1833 void *HBBTV_JSLocalSystem_getFamilyName(void *obj);
1834 
1840 void *HBBTV_JSLocalSystem_getModelName(void *obj);
1841 
1848 
1855 
1860 BOOLEAN HBBTV_JSLocalSystem_getPvrEnabled(void *obj);
1861 
1868 
1875 void *HBBTV_JSLocalSystem_getOipfProfile(void *obj);
1876 
1877 
1878 /***************************************************************************/
1879 /* NetworkInterface class */
1880 /***************************************************************************/
1881 
1887 void *HBBTV_JSNetworkInterface_getIpAddress(void *obj);
1888 
1895 
1900 BOOLEAN HBBTV_JSNetworkInterface_getEnabled(void *obj);
1901 
1906 BOOLEAN HBBTV_JSNetworkInterface_getConnected(void *obj);
1907 
1908 
1909 /***************************************************************************/
1910 /* class: application/oipfDRMAgent */
1911 /* reference: Section 7.6.1 */
1912 /***************************************************************************/
1913 
1918 void *HBBTV_JSOipfDRMAgent_sendDRMMessage(void *obj, S_HBBTV_STRING *type, S_HBBTV_STRING *message,
1919  S_HBBTV_STRING *drm_system_id);
1920 
1921 
1922 /***************************************************************************/
1923 /* Exporting Plugin Callback Functions */
1924 /***************************************************************************/
1925 
1926 void HBBTV_JSExportPluginCallbacks(const S_PLUGIN_FUNCS *p_funcs);
1927 
1928 #endif /* HBBTV_JS_H */
1929 
void HBBTV_JSAVControl_setLoop(void *avControl, S32BIT loopParam)
loop, Section 7.14.10.1. This function is used to set the loop parameter value when it's present in t...
Definition: av_control.c:1253
U32BIT HBBTV_JSAVComponent_getType(void *av_component)
Integer type, Section 7.16.5.2.1.
Definition: avcomponent.c:97
void * HBBTV_JSOipfObjFactory_createRecordingSchedulerObject(void)
Object createRecordingSchedulerObject(), Section 7.1.1.2.
Definition: oipf_obj_factory.c:236
void * HBBTV_JSProgramme_getRecording(void *obj)
readonly ScheduledRecording recording, section 7.16.2.5
Definition: programme.c:432
void HBBTV_JSMetadataSearch_addChannelConstraint(void *metadata_search, void *channel)
void addChannelConstraint(Channel channel), Section 7.12.2.2
Definition: metadata_search.c:160
BOOLEAN HBBTV_JSOipfCapabilities_hasCapability(void *obj, S_HBBTV_STRING *profileName)
Boolean hasCapability( String profileName ), Section 7.15.3.2.
Definition: oipf_capabilities.c:157
void * HBBTV_JSParentalRating_getName(void *parental_rating)
String name, Section 7.9.4.1.
Definition: parental_rating.c:73
void * HBBTV_JSOipfConfig_getLocalSystem(void *obj)
readonly LocalSystem localSystem, Section 7.3.1.1
Definition: oipf_config.c:82
U32BIT HBBTV_JSParentalRating_getLabels(void *parental_rating)
Integer labels, Section 7.9.4.1.
Definition: parental_rating.c:124
void * HBBTV_JSVideoBroadcast_getChannelConfig(void *video_broadcast)
ChannelConfig getChannelConfig(), Section 7.13.1.3.
Definition: video_broadcast.c:303
void HBBTV_JSVideoBroadcast_release(void *video_broadcast)
void release(), Section 7.13.1.3
Definition: video_broadcast.c:717
void * HBBTV_JSConfig_getCountryId(void *config)
String countryId, Section 7.3.2.1. String data is valid only while the Configuration object is valid...
Definition: config.c:145
void * HBBTV_JSLocalSystem_getVendorName(void *obj)
readonly String vendorName, section 7.3.3.1
Definition: local_system.c:99
void * HBBTV_JSOipfParentalControlMgr_getParentalRatingSchemes(void *parental_control_mgr)
readonly ParentalRatingSchemeCollection parentalRatingSchemes, Section 7.9.1.1
Definition: oipf_parental_control_mgr.c:67
HBBTV_JSAVComponent_Type
Definition: hbbtv_js.h:94
S32BIT HBBTV_JSAVControl_getHeight(void *avControl)
Integer height, CEA-2014-A Section 5.7.1.g.
Definition: av_control.c:798
void * HBBTV_JSChannelList_getChannel(void *obj, S_HBBTV_STRING *channel_id)
Channel getChannel, Section 7.13.10.2.
Definition: channel_list.c:48
void * HBBTV_JSAVControl_createAudioMpeg(void)
Creation of an AV control object of mime type "audio/mpeg".
Definition: av_control.c:283
void * HBBTV_JSProgramme_getChannelID(void *programme)
String channelID, Section 7.16.2.2.
Definition: programme.c:267
void(* F_Broadcast_onPlayStateChange)(void *video_broadcast, E_HBBTV_BROADCAST_STATE state, HBBTV_JSVideoBroadcast_ERROR_STATE error)
onPlayStateChange, Section 7.13.1.4
Definition: hbbtv_js.h:286
void HBBTV_JSVideoBroadcast_stopRecording(void *obj)
void stopRecording(), sectuion 7.13.2.3
Definition: video_broadcast.c:1495
U32BIT HBBTV_JSScheduledRecording_getDuration(void *obj)
readonly Integer duration, Section 7.10.2.2
Definition: scheduled_recording.c:605
void * HBBTV_JSAVControl_createVideoMp4(void)
Creation of an AV control object of mime type "video/mp4".
Definition: av_control.c:264
void * HBBTV_JSOipfObjFactory_createVideoBroadcastObject(void)
HTMLObjectElement createVideoBroadcastObject(), Section 7.1.1.1.
Definition: oipf_obj_factory.c:169
U32BIT HBBTV_JSCollection_getLength(void *collection)
readonly Integer Collection length, Section 7.16.1.1
Definition: collection.c:142
BOOLEAN HBBTV_JSSearchResults_getResults(void *search_result, U32BIT offset, U32BIT count)
Boolean getResults( Integer offset, Integer count ), Section 7.12.4.2.
Definition: search_results.c:106
S32BIT HBBTV_JSChannel_getSid(void *channel)
readonly Integer sid, Section 7.13.11.2
Definition: channel.c:152
U32BIT HBBTV_JSScheduledRecording_getRecordingStartTime(void *obj)
readonly Integer recordingStartTime, Section 7.10.5.1
Definition: scheduled_recording.c:687
void HBBTV_JSScheduledRecording_setDescription(void *obj, S_HBBTV_STRING *description)
String description, Section 7.10.2.2.
Definition: scheduled_recording.c:570
U16BIT HBBTV_JSAVComponent_getPid(void *obj)
Integer pid, Section 7.16.5.2.1.
Definition: avcomponent.c:254
void * HBBTV_JSProgramme_getName(void *programme)
String name, Section 7.16.2.2.
Definition: programme.c:92
S32BIT HBBTV_JSAppPrivateData_getFreeMem(void *app_private_data)
Integer getFreeMem(), Section 7.2.4.2.
Definition: app_private_data.c:86
void HBBTV_JSObject_addObjectReference(void *obj, void *reference)
Add a new reference to the list of references associated with this object. A reference is usually the...
Definition: object.c:244
HBBTV_JSKeySet_CONST
Definition: hbbtv_js.h:43
void HBBTV_JSAVControl_unselectComponent(void *avControl, void *component)
void unselectComponent( AVComponent component ), Section 7.16.5.1.3
Definition: av_control.c:1098
void * HBBTV_JSScheduledRecording_getParentalRatings(void *obj)
readonly ParentalRatingCollection parentalRatings, Section 7.10.2.2
Definition: scheduled_recording.c:631
void * HBBTV_JSChannel_getDsd(void *channel)
readonly String dsd, Section 7.13.11.2. This string is empty unless the channel has been created by t...
Definition: channel.c:113
Definition of general purpose types.
void * HBBTV_JSLocalSystem_getModelName(void *obj)
readonly String modelName, section 7.3.3.1
Definition: local_system.c:117
void(* F_DRMAgent_onDRMSystemMessage)(void *drm_agent, void *message, void *drm_system_id)
onDRMSystemMessage, Section 7.6.1.1
Definition: hbbtv_js.h:373
S32BIT HBBTV_JSChannel_getOnid(void *channel)
readonly Integer onid, Section 7.13.11.2
Definition: channel.c:126
void * HBBTV_JSVideoBroadcast_getCurrentActiveComponents(void *video_broadcast, HBBTV_JSAVComponent_Type type)
AVComponentCollection getCurrentActiveComponents, Section 7.16.5.1.3.
Definition: video_broadcast.c:926
void HBBTV_JSMetadataSearch_findProgrammesFromStream(void *metadata_search, void *channel, U32BIT start_time)
void findProgrammesFromStream ( Channel channel, Integer startTime ), Section 7.12.2.2
Definition: metadata_search.c:248
void HBBTV_JSVideoBroadcast_selectComponentType(void *obj, HBBTV_JSAVComponent_Type comp_type)
void void selectComponent( Integer componentType ), Section 7.16.5.1.3
Definition: video_broadcast.c:1012
void * HBBTV_JSOipfSearchManager_createSearch(void *search_manager, HBBTV_JSMetadataSearch_Target search_target)
createSearch, Section 7.12.1.2. Only HBBTV_JSMetadataSearch_TARGET_SCHEDULED_CONTENT is supported as ...
Definition: oipf_search_mgr.c:66
void * HBBTV_JSOipfRecordingScheduler_record(void *obj, void *programme)
ScheduledRecording record( Programme programme ), Section 7.10.1.1.
Definition: oipf_recording_scheduler.c:134
void(* F_Broadcast_onSelectedComponentChanged)(void *video_broadcast, HBBTV_JSAVComponent_Type type)
void onSelectedComponentChanged, Section 7.16.5.1.2
Definition: hbbtv_js.h:314
void * HBBTV_JSCollection_getParentalRatingScheme(void *collection, S_HBBTV_STRING *name)
ParentalRatingScheme getParentalRatingScheme, Section 7.9.3.2.
Definition: parental_rating_scheme_collection.c:43
float HBBTV_JSVideoBroadcast_getPlaySpeed(void *video_broadcast)
readonly Number playSpeed, Section 7.13.2.2
Definition: video_broadcast.c:1237
void(* F_AVControl_onDRMRightsError)(void *av_control, U8BIT error_state, void *content_id, void *drm_system_id, void *rights_issuer_url)
onDRMRightsError, OIPF Vol.5, section 7.14.7
Definition: hbbtv_js.h:361
U32BIT HBBTV_JSString_utf8ByteLen(void *obj)
Returns byte length of UTF-8 string (conversion may be needed). This would be used prior to calling H...
Definition: hbbtv_string.c:1739
void(* F_Broadcast_onRecordingEvent)(void *video_broadcast, HBBTV_JSVideoBroadcast_RECORDING_STATE state, HBBTV_JSVideoBroadcast_RECORDING_ERROR error, void *id)
function onRecordingEvent( Integer state, Integer error, String recordingId ), Section 7...
Definition: hbbtv_js.h:319
void HBBTV_JSAVControl_setWidth(void *avControl, S32BIT width)
Integer width, CEA-2014-A Section 5.7.1.g.
Definition: av_control.c:778
S32BIT HBBTV_JSParentalRatingScheme_indexOf(void *parental_rating_scheme, S_HBBTV_STRING *ratingValue)
Integer indexOf, Section 7.9.2.2.
Definition: parental_rating_scheme.c:156
void * HBBTV_JSOipfObjFactory_createSearchManagerObject(void)
Object createSearchManagerObject(), Section 7.1.1.2.
Definition: oipf_obj_factory.c:227
BOOLEAN HBBTV_JSAVControl_setVolume(void *avControl, S32BIT volume)
Boolean setVolume(Number volume), CEA-2014-A Section 5.7.1.f.
Definition: av_control.c:716
U8BIT HBBTV_JSOipfCapabilities_getExtraSDVideoDecodes(void *obj)
readonly Number extraSDVideoDecodes, Section 7.15.3.1. This property is not implemented and returns 0...
Definition: oipf_capabilities.c:137
BOOLEAN HBBTV_JSAVComponent_getAudioDescription(void *av_component)
Boolean audioDescription, Section 7.16.5.4.1.
Definition: avcomponent.c:187
void(* F_Broadcast_onChannelChangeError)(void *video_broadcast, void *channel, HBBTV_JSVideoBroadcast_ERROR_STATE error_state)
onChannelChangeError, Section 7.13.1.4
Definition: hbbtv_js.h:275
void * HBBTV_JSLocalSystem_getNetworkInterfaces(void *obj)
readonly NetworkInterfaceCollection networkInterfaces, section 7.3.3.1
Definition: local_system.c:204
U32BIT HBBTV_JSAVControl_getPlayTime(void *avControl)
Number playTime [R], CEA-2014-A Section 5.7.1.f.
Definition: av_control.c:423
void * HBBTV_JSOipfCapabilities_getXmlCapabilities(void *obj)
readonly Document xmlCapabilities, Section 7.15.3.1
Definition: oipf_capabilities.c:107
void HBBTV_JSAVControl_setFullScreen(void *avControl, BOOLEAN fullscreen)
void setFullScreen(Boolean fullscreen), CEA-2014-A Section 5.7.1.g
Definition: av_control.c:854
void * HBBTV_JSAVControl_createVideoMpeg(void)
Creation of an AV control object of mime type "video/mpeg".
Definition: av_control.c:245
S8BIT HBBTV_JSAVComponent_getComponentTag(void *obj)
Integer componentTag, Section 7.16.5.2.1.
Definition: avcomponent.c:241
void * HBBTV_JSChannel_getName(void *channel)
readonly String name, Section 7.13.11.2
Definition: channel.c:165
void * HBBTV_Capabilities_getOptionsString(void)
Returns a string object containing the supported options as defined in TS102796, section 10...
Definition: oipf_capabilities.c:187
U32BIT HBBTV_JSString_strlen(void *obj)
Returns the number of characters in the string.
Definition: hbbtv_string.c:1794
void * HBBTV_JSProgramme_getProgrammeID(void *programme)
String programmeID, Section 7.16.2.2.
Definition: programme.c:125
void(* F_Broadcast_onStreamEvent)(void *video_broadcast, U32BIT listener_id, S_HBBTV_SE_INFO *event)
onStreamEvent, TS102796 Section 8.2.1.2
Definition: hbbtv_js.h:309
S32BIT HBBTV_JSChannel_getChannelType(void *channel)
readonly Integer channelType, Section 7.13.11.2
Definition: channel.c:87
void * HBBTV_JSChannelList_getChannelByTriplet(void *obj, S32BIT onid, S32BIT tsid, S32BIT sid)
Channel getChannelByTriplet, Section 7.13.10.2.
Definition: channel_list.c:84
S32BIT HBBTV_JSChannel_getMajorChannel(void *obj)
readonly Integer majorChannel, OIPF vol. 5, section 7.13.11.2
Definition: channel.c:192
void HBBTV_JSAVControl_selectComponent(void *avControl, void *component)
void selectComponent( AVComponent component ), Section 7.16.5.1.3
Definition: av_control.c:993
void * HBBTV_JSChannel_getCcid(void *channel)
readonly readonly String ccid, Section 7.13.11.2
Definition: channel.c:100
void HBBTV_JSOipfRecordingScheduler_remove(void *obj, void *scheduled_recording)
void remove( ScheduledRecording recording ), Section 7.10.1.1
Definition: oipf_recording_scheduler.c:345
void * HBBTV_JSOipfObjFactory_createCapabilitiesObject(void)
Object createCapabilitiesObject(), Section 7.1.1.2.
Definition: oipf_obj_factory.c:218
void * HBBTV_JSLocalSystem_getSoftwareVersion(void *obj)
readonly String softwareVersion, section 7.3.3.1
Definition: local_system.c:153
void HBBTV_JSVideoBroadcast_nextChannel(void *video_broadcast)
void nextChannel(), Section 7.13.1.3
Definition: video_broadcast.c:629
BOOLEAN HBBTV_JSNetworkInterface_getEnabled(void *obj)
readonly Boolean enabled, section 7.3.4.1
Definition: network_interface.c:114
S32BIT HBBTV_JSKeySet_getValue(void *key_set)
readonly Integer value, Section 7.2.5.2
Definition: key_set.c:74
void * HBBTV_JSOipfAppMgr_getOwnerApp(void *app_mgr, S_HBBTV_STRING *url)
Application getOwnerApplication( Document document ), Section 7.2.1.2.
Definition: oipf_app_mgr.c:781
BOOLEAN HBBTV_JSAVControl_previous(void *avControl)
Boolean previous(), CEA-2014-A Section 5.7.1.f. Playlists are not supported, this function returns FA...
Definition: av_control.c:747
void * HBBTV_JSChannelConfig_getChannelList(void *obj)
readonly ChannelList channelList, Section 7.13.9.1
Definition: channel_config.c:74
void HBBTV_JSAVControl_unselectComponentType(void *obj, HBBTV_JSAVComponent_Type comp_type)
void unselectComponent( Integer componentType ), Section 7.16.5.1.3
Definition: av_control.c:1128
S32BIT HBBTV_JSKeySet_setValue(void *key_set, S32BIT value)
Integer setValue( Integer value, Integer otherKeys[] ), Section 7.2.5.3.
Definition: key_set.c:99
void * HBBTV_JSOipfDRMAgent_sendDRMMessage(void *obj, S_HBBTV_STRING *type, S_HBBTV_STRING *message, S_HBBTV_STRING *drm_system_id)
String sendDRMMessage( String msgType, String msg, String DRMSystemID ), section 7.6.1.2.
Definition: oipf_drm_agent.c:92
void HBBTV_JSScheduledRecording_setEndPadding(void *obj, S32BIT end_padding)
Integer endPadding, Section 7.10.2.2.
Definition: scheduled_recording.c:500
void * HBBTV_JSVideoBroadcast_createChannelObject(void *video_broadcast, S32BIT id_type, S_HBBTV_STRING *dsd, S32BIT sid)
Channel createChannelObject(Integer idType, String dsd, Integer sid), Section 7.13.1.3. Although dsd property of the channel object is defined as ISO Latin1, the HbbTV engine expects dsd to be UTF-8 encoded as Latin1 is not supported.
Definition: video_broadcast.c:428
U32BIT HBBTV_JSKeySet_getOtherKeys(void *obj, U32BIT **other_keys)
readonly Integer otherKeys[].
Definition: key_set.c:125
void(* F_Broadcast_onFullScreenChange)(void *video_broadcast)
onFullScreenChange, Section 7.13.1.4
Definition: hbbtv_js.h:270
void HBBTV_JSObject_getObjectReferences(void *obj, void ***references, U32BIT *number)
Retrieves the list of references associated with this object. The HbbTV engine allocates the memory a...
Definition: object.c:273
void(* F_Broadcast_onChannelChangeSucceeded)(void *video_broadcast, void *channel)
onChannelChangeSucceeded, Section 7.13.1.4
Definition: hbbtv_js.h:281
void * HBBTV_JSScheduledRecording_getName(void *obj)
String name, Section 7.10.2.2.
Definition: scheduled_recording.c:517
HBBTV_JSSearchManager_State
Definition: hbbtv_js.h:61
void(* F_SearchManager_onMetadataSearch)(void *search_manager, void *metadata_search, HBBTV_JSSearchManager_State state)
onMetadataSearch, Section 7.12.1.1
Definition: hbbtv_js.h:265
void * HBBTV_JSQuery_and(void *query, void *operand_query)
Query and( Query query ), Section 7.12.3.2.
Definition: query.c:101
void * HBBTV_JSAVControl_getCurrentActiveComponents(void *avControl, HBBTV_JSAVComponent_Type component_type)
AVComponent[] getCurrentActiveComponents, Section 7.16.5.1.3.
Definition: av_control.c:949
void HBBTV_JSObject_release(void *obj)
Releases an object.
Definition: object.c:213
void HBBTV_JSApp_show(void *app)
void show(), Section 7.2.2.2
Definition: app.c:385
void * HBBTV_JSAVComponent_getEncoding(void *av_component)
String encoding, Section 7.16.5.2.1.
Definition: avcomponent.c:110
void HBBTV_JSVideoBroadcast_setData(void *video_broadcast, S_HBBTV_STRING *data)
String data, Section 7.13.1.2.
Definition: video_broadcast.c:294
void * HBBTV_JSAVControl_getComponents(void *avControl, HBBTV_JSAVComponent_Type component_type)
AVComponent[] getComponents, Section 7.16.5.1.3.
Definition: av_control.c:904
void HBBTV_JSScheduledRecording_setStartPadding(void *obj, S32BIT start_padding)
Integer startPadding, Section 7.10.2.2.
Definition: scheduled_recording.c:470
HBBTV_JSMetadataSearch_Comparison
Definition: hbbtv_js.h:80
void HBBTV_JSVideoBroadcast_setChannel(void *video_broadcast, void *channel, BOOLEAN trickplay, S_HBBTV_STRING *content_access_desc_url)
void setChannel(Channel channel, Boolean trickplay, String contentAccessDescriptorURL), Section 7.13.1.3
Definition: video_broadcast.c:482
Definition: hbbtv_js.h:375
void * HBBTV_JSApp_getPrivateData(void *app)
readonly ApplicationPrivateData privateData, Section 7.2.2.1
Definition: app.c:310
S32BIT HBBTV_JSAVControl_getError(void *avControl)
Number error [R], CEA-2014-A Section 5.7.1.f.
Definition: av_control.c:463
void HBBTV_JSVideoBroadcast_prevChannel(void *video_broadcast)
void prevChannel(), Section 7.13.1.3
Definition: video_broadcast.c:559
void HBBTV_JSAVControl_setCurrentTrackIndex(void *avControl, S32BIT trackIndex)
Number currentTrackIndex [RW], CEA-2014-A Section 5.7.1.f. Playlists are not supported.
Definition: av_control.c:535
void * HBBTV_JSParentalRatingScheme_item(void *parental_rating_scheme, U32BIT index)
String item, Section 7.9.2.2.
Definition: parental_rating_scheme.c:189
void * HBBTV_JSProgramme_getSIDescriptors(void *programme, S32BIT desc_tag_id, S32BIT ext_desc_tag_id)
StringCollection getSIDescriptors, Section 7.16.2.4.
Definition: programme.c:299
void * HBBTV_JSOipfConfig_getConfig(void *config)
readonly Configuration configuration, Section 7.3.1.1
Definition: oipf_config.c:68
void * HBBTV_JSProgramme_getParentalRatings(void *programme)
readonly ParentalRatingCollection parentalRatings, Section 7.16.2.2
Definition: programme.c:286
HBBTV_JSChannel_TYPE
Definition: hbbtv_js.h:175
void HBBTV_JSVideoBroadcast_bindToCurrentChannel(void *video_broadcast)
void bindToCurrentChannel(), Section 7.13.1.3
Definition: video_broadcast.c:317
void HBBTV_JSMetadataSearch_setQuery(void *metadata_search, void *query)
void setQuery(Query query), Section 7.12.2.2
Definition: metadata_search.c:142
void * HBBTV_JSProgramme_getAudioLanguages(void *obj)
readonly StringCollection audioLanguages
Definition: programme.c:379
S32BIT HBBTV_JSAVControl_getWidth(void *avControl)
Integer width, CEA-2014-A Section 5.7.1.g.
Definition: av_control.c:761
S32BIT HBBTV_JSKeySet_getMaximumValue(void *key_set)
readonly Integer maximumValue, Section 7.2.5.2
Definition: key_set.c:86
void HBBTV_JSVideoBroadcast_setVideoWindow(void *obj, S32BIT x, S32BIT y, S32BIT width, S32BIT height)
Changes the video position and dimensions at once.
Definition: video_broadcast.c:238
void HBBTV_JSObject_removeObjectReference(void *obj, void *reference)
Removes a reference from the list of references associated to this object. A reference is usually rem...
Definition: object.c:261
void * HBBTV_JSLocalSystem_getHardwareVersion(void *obj)
readonly String hardwareVersion, section 7.3.3.1
Definition: local_system.c:171
S32BIT HBBTV_JSScheduledRecording_getStartPadding(void *obj)
Integer startPadding, Section 7.10.2.2.
Definition: scheduled_recording.c:457
void * HBBTV_JSAppPrivateData_getKeyset(void *app_private_data)
readonly Keyset keyset, Section 7.2.4.1
Definition: app_private_data.c:73
BOOLEAN HBBTV_JSAVControl_next(void *avControl)
Boolean next(), CEA-2014-A Section 5.7.1.f. Playlists are not supported, this function returns FALSE...
Definition: av_control.c:733
void HBBTV_JSVideoBroadcast_setWidth(void *video_broadcast, S32BIT width)
Integer width, Section 7.13.1.2.
Definition: video_broadcast.c:182
void HBBTV_JSScheduledRecording_setName(void *obj, S_HBBTV_STRING *name)
String name, Section 7.10.2.2.
Definition: scheduled_recording.c:533
void HBBTV_JSVideoBroadcast_setFullScreen(void *video_broadcast, BOOLEAN fullscreen)
void setFullScreen(Boolean fullscreen), Section 7.13.1.3
Definition: video_broadcast.c:699
void(* F_Broadcast_onDRMRightsError)(void *video_broadcast, U8BIT error_state, void *content_id, void *drm_system_id, void *rights_issuer_url)
onDRMRightsError, OIPF Vol.5, section 7.13.6
Definition: hbbtv_js.h:335
HBBTV_JSObjType_CONST HBBTV_JSObject_type(void *obj)
Returns type of object - can use with collection class.
Definition: object.c:150
void HBBTV_JSString_releaseString(U8BIT *utf_string)
Releases a UTF-8 or UTF-16 string obtained using HBBTV_JSString_getStringX.
Definition: hbbtv_string.c:1728
void(* F_AVControl_onPlayPositionChanged)(void *avControl, U32BIT position)
onPlayPositionChanged, Section 7.14.3.1
Definition: hbbtv_js.h:351
void * HBBTV_JSOipfObjFactory_createDRMAgentObject(void)
Object createDRMAgentObject(), section 7.1.1.2.
Definition: oipf_obj_factory.c:255
void * HBBTV_JSParentalRating_getRegion(void *parental_rating)
String region, Section 7.9.4.1.
Definition: parental_rating.c:137
void HBBTV_JSVideoBroadcast_selectComponent(void *video_broadcast, void *component)
void selectComponent( AVComponent component ), Section 7.16.5.1.3
Definition: video_broadcast.c:961
HBBTV_JSMetadataSearch_Target
Definition: hbbtv_js.h:71
void * HBBTV_JSLocalSystem_getOipfProfile(void *obj)
readonly String oipfProfile. This property is part of OIPF Vol. 5, it implements the LocalSystem oipf...
Definition: local_system.c:219
HBBTV_JSScheduledRecording_STATE HBBTV_JSScheduledRecording_getState(void *obj)
readonly Integer state, Section 7.10.2.2
Definition: scheduled_recording.c:618
BOOLEAN HBBTV_JSAVComponent_getEncrypted(void *av_component)
Boolean encrypted, Section 7.16.5.2.1.
Definition: avcomponent.c:129
E_HBBTV_BROADCAST_STATE HBBTV_JSVideoBroadcast_getPlayState(void *video_broadcast)
Integer playState, Section 7.13.1.2.
Definition: video_broadcast.c:268
void * HBBTV_JSProgramme_getGenre(void *obj)
readonly StringCollection genre
Definition: programme.c:405
BOOLEAN HBBTV_JSAVControl_getPersist(void *avControl)
Boolean persist [RW], CEA-2014-A Section 5.7.1.f.
Definition: av_control.c:550
void HBBTV_JSString_utf8CopyData(void *obj, U8BIT *output)
Fills output of UTF-8 string, (conversion may be needed). This would be used after calling HBBTV_JSSt...
Definition: hbbtv_string.c:1767
void(* F_AVControl_onSelectedComponentChanged)(void *avControl, HBBTV_JSAVComponent_Type type)
onSelectedComponentChanged, Section 7.16.5.1.2
Definition: hbbtv_js.h:356
void * HBBTV_JSConfig_getPreferredSubtitleLang(void *config)
String preferredSubtitleLanguage, Section 7.3.2.1.
Definition: config.c:97
BOOLEAN HBBTV_JSAVControl_getFullScreen(void *avControl)
readonly Boolean fullScreen, CEA-2014-A Section 5.7.1.g
Definition: av_control.c:836
BOOLEAN HBBTV_JSVideoBroadcast_addStreamEventListener(void *video_broadcast, S_HBBTV_STRING dvb_url, S_HBBTV_STRING name, U32BIT listener_id)
void addStreamEventListener, TS 102796, Section 8.2.1.1
Definition: video_broadcast.c:1326
BOOLEAN HBBTV_JSAVControl_stop(void *avControl)
Boolean stop(), CEA-2014-A Section 5.7.1.f.
Definition: av_control.c:669
void * HBBTV_JSLocalSystem_getFamilyName(void *obj)
readonly String familyName, section 7.3.3.1
Definition: local_system.c:135
void * HBBTV_JSScheduledRecording_getId(void *obj)
readonly String id, Section 7.10.5.1. Returns a pointer to a string object if called on a Recording o...
Definition: scheduled_recording.c:662
S32BIT HBBTV_JSChannel_getNid(void *obj)
readonly Integer nid, OIPF vol. 5, section 7.13.11.2
Definition: channel.c:178
void * HBBTV_JSAVComponent_getLanguage(void *av_component)
String language, Section 7.16.5.4.1.
Definition: avcomponent.c:160
void * HBBTV_JSCollection_addParentalRatingScheme(void *collection, S_HBBTV_STRING *name, S_HBBTV_STRING *values)
ParentalRatingScheme addParentalRatingScheme, Section 7.9.3.2.
Definition: parental_rating_scheme_collection.c:75
BOOLEAN HBBTV_JSProgramme_getIsHd(void *obj)
readonly Boolean isHD, section 7.16.2.3.1
Definition: programme.c:391
BOOLEAN HBBTV_JSChannel_getLocked(void *obj)
readonly Boolean locked, OIPF vol. 5, section 7.13.11.2
Definition: channel.c:206
void HBBTV_JSApp_destroyApp(void *app)
void destroyApplication(), Section 7.2.2.2
Definition: app.c:366
void HBBTV_JSObject_releaseObjectReferences(void *obj, void **references)
Releases a list of references returned by HBBTV_JSObject_getObjectReferences. This function can be bl...
Definition: object.c:305
S32BIT HBBTV_JSScheduledRecording_getEndPadding(void *obj)
Integer endPadding, Section 7.10.2.2.
Definition: scheduled_recording.c:487
U32BIT HBBTV_JSScheduledRecording_getRecordingDuration(void *obj)
readonly Integer recordingDuration, Section 7.10.5.1
Definition: scheduled_recording.c:701
S32BIT HBBTV_JSAVControl_getNrTracks(void *avControl)
Number nrTracks [R], CEA-2014-A Section 5.7.1.f. Playlists are not supported, this function returns 1...
Definition: av_control.c:499
BOOLEAN HBBTV_JSAVControl_setSource(void *avControl, S_HBBTV_STRING *id)
Boolean setSource( String id ), Section 7.14.7.
Definition: av_control.c:1196
void * HBBTV_JSScheduledRecording_getChannel(void *obj)
readonly Channel channel, Section 7.10.2.2
Definition: scheduled_recording.c:646
void * HBBTV_JSOipfSearchManager_getChannelConfig(void *search_manager)
ChannelConfig getChannelConfig, Section 7.12.1.2.
Definition: oipf_search_mgr.c:76
void * HBBTV_JSAVControl_getData(void *avControl)
String data [RW], CEA-2014-A Section 5.7.1.f.
Definition: av_control.c:322
U32BIT HBBTV_JSProgramme_getProgrammeIDType(void *programme)
Integer programmeIDType, Section 7.16.2.2.
Definition: programme.c:144
HBBTV_JSVideoBroadcast_RECORDING_STATE HBBTV_JSVideoBroadcast_getRecordingState(void *video_broadcast)
readonly Integer recordingState, Section 7.13.2.2
Definition: video_broadcast.c:1224
void * HBBTV_JSOipfObjFactory_createParentalControlMgrObject(void)
Object createParentalControlManagerObject(), Section 7.1.1.2.
Definition: oipf_obj_factory.c:209
void * HBBTV_JSVideoBroadcast_getCurrentChannel(void *video_broadcast)
readonly Channel currentChannel, Section 7.13.7.1
Definition: video_broadcast.c:796
U32BIT HBBTV_JSVideoBroadcast_getPlayPosition(void *video_broadcast)
readonly Integer playPosition, Section 7.13.2.2
Definition: video_broadcast.c:1250
void * HBBTV_JSAppPrivateData_getCurrentChannel(void *app_private_data)
Channel getCurrentChannel(), TS102796, Annex A.2.2.
Definition: app_private_data.c:104
void * HBBTV_JSChannel_getGenre(void *obj)
readonly StringCollection genre
Definition: channel.c:235
void * HBBTV_JSOipfObjFactory_createConfigObject(void)
Object createConfigurationObject(), Section 7.1.1.2.
Definition: oipf_obj_factory.c:200
void * HBBTV_JSOipfRecordingScheduler_getRecordings(void *obj)
readonly ScheduledRecordingCollection recordings, Section 7.10.4.1
Definition: oipf_recording_scheduler.c:367
BOOLEAN HBBTV_JSAVControl_seek(void *avControl, U32BIT pos)
Boolean seek(Number pos), CEA-2014-A Section 5.7.1.f.
Definition: av_control.c:695
void * HBBTV_JSVideoBroadcast_getData(void *video_broadcast)
String data, Section 7.13.1.2.
Definition: video_broadcast.c:281
void HBBTV_JSAVControl_setPosition(void *avControl, S32BIT x, S32BIT y)
Sets the object's position on screen.
Definition: av_control.c:883
U32BIT HBBTV_JSParentalRatingScheme_getLength(void *parental_rating_scheme)
readonly Integer length, Section 7.9.2.1
Definition: parental_rating_scheme.c:92
void * HBBTV_JSQuery_not(void *query)
Query not( ), Section 7.12.3.2.
Definition: query.c:145
S32BIT HBBTV_JSVideoBroadcast_getHeight(void *video_broadcast)
Integer height, Section 7.13.1.2.
Definition: video_broadcast.c:201
void * HBBTV_JSObject_incref(void *obj)
Increases reference count of an object.
Definition: object.c:192
BOOLEAN HBBTV_JSVideoBroadcast_loadStreamEventListener(void *video_broadcast, S_HBBTV_STRING xml_data, S_HBBTV_STRING name, U32BIT listener_id)
Definition: video_broadcast.c:1263
BOOLEAN HBBTV_JSNetworkInterface_getConnected(void *obj)
readonly Boolean connected, section 7.3.4.1
Definition: network_interface.c:129
U16BIT * HBBTV_JSString_getString16(void *string)
Returns a string in HbbTV UTF-16 format, with conversion taking place if necessary.
Definition: hbbtv_string.c:1624
void * HBBTV_JSProgramme_getDescription(void *programme)
String description, Section 7.16.2.2.
Definition: programme.c:157
System Wide Global Technical Data Type Definitions.
U32BIT HBBTV_JSParentalRating_getValue(void *parental_rating)
Integer value, Section 7.9.4.1.
Definition: parental_rating.c:111
BOOLEAN HBBTV_JSVideoBroadcast_getFullScreen(void *video_broadcast)
readonly Boolean fullScreen, Section 7.13.1.2
Definition: video_broadcast.c:255
void HBBTV_JSAVControl_selectComponentType(void *avControl, HBBTV_JSAVComponent_Type component_type)
void selectComponent( Integer componentType ), Section 7.16.5.1.3
Definition: av_control.c:1025
void * HBBTV_JSVideoBroadcast_recordNow(void *obj, S32BIT duration)
void recordNow, section 7.13.2.3
Definition: video_broadcast.c:1430
void * HBBTV_JSConfig_getPreferredUILang(void *config)
String preferredUILanguage, Section 7.3.2.1. String data is valid only while the Configuration object...
Definition: config.c:121
HBBTV_JSAVControl_ERROR
Definition: hbbtv_js.h:204
U32BIT HBBTV_JSProgramme_getStartTime(void *programme)
Integer startTime, Section 7.16.2.2.
Definition: programme.c:223
float HBBTV_JSAVComponent_getAspectRatio(void *av_component)
Number aspectRatio, Section 7.16.5.3.1.
Definition: avcomponent.c:142
Definition: hbbtv_types.h:167
void HBBTV_JSVideoBroadcast_unselectComponent(void *video_broadcast, void *component)
void unselectComponent( AVComponent component ), Section 7.16.5.1.3
Definition: video_broadcast.c:1106
void(* F_Broadcast_onParentalRatingError)(void *video_broadcast, void *content_id, void *parental_ratings, void *drm_system_id)
onParentalRatingError, Section 7.13.5
Definition: hbbtv_js.h:303
void * HBBTV_JSParentalRating_getScheme(void *parental_rating)
String scheme, Section 7.9.4.1.
Definition: parental_rating.c:92
void HBBTV_JSAVControl_setCache(void *avControl, BOOLEAN cache)
boolean cache, Section 7.14.10.1. This function is used to set the cache parameter value when it's pr...
Definition: av_control.c:1268
void * HBBTV_JSQuery_or(void *query, void *operand_query)
Query or( Query query ), Section 7.12.3.2.
Definition: query.c:123
void * HBBTV_JSOipfRecordingScheduler_recordAt(void *obj, U32BIT start_time, U32BIT duration, U8BIT repeat_days, S_HBBTV_STRING *channel_id)
ScheduledRecording recordAt( Integer startTime, Integer duration, Integer repeatDays, String channelID ), Section 7.10.1.1.
Definition: oipf_recording_scheduler.c:212
void * HBBTV_JSVideoBroadcast_getComponents(void *video_broadcast, HBBTV_JSAVComponent_Type type)
AVComponentCollection getComponents, Section 7.16.5.1.3. HBBTV_JSAVComponent_TYPE_UNKNOWN is used for...
Definition: video_broadcast.c:886
void * HBBTV_JSOipfObjFactory_createAppMgrObject(void)
Object createApplicationManagerObject(), Section 7.1.1.2.
Definition: oipf_obj_factory.c:191
void * HBBTV_JSAVControl_createAudioMp4(void)
Creation of an AV control object of mime type "audio/mp4".
Definition: av_control.c:302
void * HBBTV_JSOipfObjFactory_createVideoMpegObject(void)
HTMLObjectElement createVideoMpegObject(), Section 7.1.1.1.
Definition: oipf_obj_factory.c:180
void * HBBTV_JSOipfRecordingScheduler_createProgrammeObject(void *obj)
Programme createProgrammeObject(), Section 7.10.1.1.
Definition: oipf_recording_scheduler.c:195
void(* F_AppMgr_onLowMemory)(void *app_mgr)
onLowMemory, Section 7.2.1.3
Definition: hbbtv_js.h:255
void HBBTV_JSApp_hide(void *app)
void hide(), Section 7.2.2.2
Definition: app.c:410
void * HBBTV_JSVideoBroadcast_createChannelObject2(void *video_broadcast, S32BIT id_type, S32BIT onid, S32BIT tsid, S32BIT sid, S32BIT source_id, S_HBBTV_STRING *ip_broadcast_id)
Channel createChannelObject(Integer idType, Integer onid, Integer tsid, Integer sid, Integer sourceID, String ipBroadcastID), Section 7.13.1.3.
Definition: video_broadcast.c:448
void HBBTV_JSAVControl_setData(void *avControl, S_HBBTV_STRING *data)
String data [RW], CEA-2014-A Section 5.7.1.f.
Definition: av_control.c:383
BOOLEAN HBBTV_JSProgramme_getHasRecording(void *obj)
readonly Boolean hasRecording, section 7.16.2.3.1
Definition: programme.c:418
void(* F_AppMgr_onApplicationLoadError)(void *app_mgr)
onApplicationLoadError, Section 7.2.1.3
Definition: hbbtv_js.h:260
void * HBBTV_JSParentalRatingScheme_getThreshold(void *parental_rating_scheme)
readonly ParentalRating threshold, Section 7.9.2.1
Definition: parental_rating_scheme.c:105
void * HBBTV_JSCollection_getItem(void *collection, U32BIT index)
readonly Collection item, Section 7.16.1.2
Definition: collection.c:96
void(* F_AVControl_onFullScreenChange)(void *avControl)
onFullScreenChange, CEA-2014-A Section 5.7.1.g
Definition: hbbtv_js.h:346
BOOLEAN HBBTV_JSVideoBroadcast_removeStreamEventListener(void *video_broadcast, S_HBBTV_STRING name, U32BIT listener_id)
void removeStreamEventListener, TS 102796, Section 8.2.1.1
Definition: video_broadcast.c:1389
Definition: hbbtv_js.h:138
void * HBBTV_JSMetadataSearch_getResult(void *metadata_search)
readonly SearchResults result, Section 7.12.2.1
Definition: metadata_search.c:129
void(* F_AVControl_onPlayStateChange)(void *avControl)
onPlayStateChange, CEA-2014-A Section 5.7.1.f
Definition: hbbtv_js.h:341
S32BIT HBBTV_JSAVControl_getCurrentTrackIndex(void *avControl)
Number currentTrackIndex [RW], CEA-2014-A Section 5.7.1.f. Playlists are not supported.
Definition: av_control.c:517
U32BIT HBBTV_JSScheduledRecording_getStartTime(void *obj)
readonly Integer startTime, Section 7.10.2.2
Definition: scheduled_recording.c:592
S32BIT HBBTV_JSVideoBroadcast_getWidth(void *video_broadcast)
Integer width, Section 7.13.1.2.
Definition: video_broadcast.c:169
BOOLEAN HBBTV_JSProgramme_getIsMultilingual(void *obj)
readonly Boolean isMultilingual, section 7.16.2.3.1
Definition: programme.c:365
void(* F_Broadcast_onProgrammesChanged)(void *video_broadcast)
onProgrammesChanged, Section 7.13.3
Definition: hbbtv_js.h:292
U32BIT HBBTV_JSSearchResults_getOffset(void *search_result)
readonly Integer offset, Section 7.12.4.1
Definition: search_results.c:76
void * HBBTV_JSApp_createApp(void *app, S_HBBTV_STRING *uri, BOOLEAN create_child)
Application createApplication( String uri, Boolean createChild ), Section 7.2.2.2.
Definition: app.c:324
void * HBBTV_JSNetworkInterface_getMacAddress(void *obj)
readonly String macAddress, section 7.3.4.1
Definition: network_interface.c:101
void HBBTV_JSAVControl_setHeight(void *avControl, S32BIT height)
Integer height, CEA-2014-A Section 5.7.1.g.
Definition: av_control.c:816
S_HBBTV_STRING HBBTV_JSString_getValue(void *string)
Return string's value. The value is only valid while the string object is valid.
Definition: hbbtv_string.c:1262
S32BIT HBBTV_JSAVControl_getSpeed(void *avControl)
Number speed [R], CEA-2014-A Section 5.7.1.f.
Definition: av_control.c:481
S32BIT HBBTV_JSChannel_getTsid(void *channel)
readonly Integer tsid, Section 7.13.11.2
Definition: channel.c:139
U32BIT HBBTV_JSProgramme_getDuration(void *programme)
Integer duration, Section 7.16.2.2.
Definition: programme.c:245
HBBTV_JSVideoBroadcast_ERROR_STATE
Definition: hbbtv_js.h:105
void HBBTV_JSVideoBroadcast_setHeight(void *video_broadcast, S32BIT height)
Integer height, Section 7.13.1.2.
Definition: video_broadcast.c:214
U32BIT HBBTV_JSAVComponent_getAudioChannels(void *av_component)
Integer audioChannels, Section 7.16.5.4.1.
Definition: avcomponent.c:205
S32BIT HBBTV_JSAVControl_getPlayState(void *avControl)
Number playState [R], CEA-2014-A Section 5.7.1.f.
Definition: av_control.c:445
void * HBBTV_JSVideoBroadcast_getProgrammes(void *video_broadcast)
readonly ProgrammeCollection programmes, Section 7.13.3
Definition: video_broadcast.c:817
void(* F_Broadcast_onParentalRatingChange)(void *video_broadcast, void *content_id, void *parental_ratings, void *drm_system_id, BOOLEAN blocked)
onParentalRatingChange, Section 7.13.5
Definition: hbbtv_js.h:297
void(* F_Broadcast_onPlaySpeedChanged)(void *video_broadcast, float speed)
function onPlaySpeedChanged( Number speed ), Section 7.13.2.2
Definition: hbbtv_js.h:325
void * HBBTV_JSScheduledRecording_getDescription(void *obj)
String description, Section 7.10.2.2.
Definition: scheduled_recording.c:555
U8BIT * HBBTV_JSString_getString8(void *string)
Returns a string in HbbTV UTF-8 format, with conversion taking place if necessary.
Definition: hbbtv_string.c:1653
void * HBBTV_JSParentalRatingScheme_getName(void *parental_rating_scheme)
readonly String name, Section 7.9.2.1
Definition: parental_rating_scheme.c:79
BOOLEAN HBBTV_JSAVControl_queue(void *avControl, S_HBBTV_STRING *url)
Boolean queue( String url ), TS102796 v1.2.1, Section A.2.5.
Definition: av_control.c:1157
BOOLEAN HBBTV_JSLocalSystem_getPvrEnabled(void *obj)
readonly Boolean pvrEnabled, section 7.3.3.1
Definition: local_system.c:188
void * HBBTV_JSConfig_getPreferredAudioLang(void *config)
String preferredAudioLanguage, Section 7.3.2.1.
Definition: config.c:73
BOOLEAN HBBTV_JSAVComponent_getHearingImpaired(void *av_component)
Boolean hearingImpaired, Section 7.16.5.5.1.
Definition: avcomponent.c:223
BOOLEAN HBBTV_JSAVControl_play(void *avControl, S32BIT speed)
Boolean play(Number speed), CEA-2014-A Section 5.7.1.f.
Definition: av_control.c:583
U32BIT HBBTV_JSAVControl_getPlayPosition(void *avControl)
Number playPosition [R], CEA-2014-A Section 5.7.1.f.
Definition: av_control.c:401
U32BIT HBBTV_JSProgramme_getAudioType(void *obj)
readonly Integer audioType, section 7.10.5.1 section 17.2.10.
Definition: programme.c:353
void(* F_Broadcast_onPlayPositionChanged)(void *video_broadcast, U32BIT position)
function onPlayPositionChanged( Integer position ), Section 7.13.2.2
Definition: hbbtv_js.h:330
void HBBTV_JSSearchResults_abort(void *search_result)
void abort( ), Section 7.12.4.2
Definition: search_results.c:132
BOOLEAN HBBTV_JSOipfObjFactory_isObjSupported(S_HBBTV_STRING *mime_type)
Boolean isObjectSupported( String mimeType ), Section 7.1.1.
Definition: oipf_obj_factory.c:134
void(* F_DRMAgent_onDRMMessageResult)(void *drm_agent, void *message_id, void *message_result, U8BIT result_code)
onDRMMessageResult, Section 7.6.1.1
Definition: hbbtv_js.h:367
void * HBBTV_JSNetworkInterface_getIpAddress(void *obj)
readonly String ipAddress, section 7.3.4.1
Definition: network_interface.c:76
HBBTV_JSMetadataSearch_Target HBBTV_JSMetadataSearch_getSearchTarget(void *metadata_search)
readonly Integer searchTarget, Section 7.12.2.1. Only HBBTV_JSSearchManager_TARGET_SCHEDULED_CONTENT ...
Definition: metadata_search.c:116
BOOLEAN HBBTV_JSChannel_getHidden(void *obj)
readonly Boolean hidden. This property is part of OIPF Vol. 5.
Definition: channel.c:222
U32BIT HBBTV_JSSearchResults_getTotalSize(void *search_result)
readonly Integer totalSize, Section 7.12.4.1
Definition: search_results.c:91
void HBBTV_JSVideoBroadcast_stop(void *video_broadcast)
void stop(), Section 7.13.1.3
Definition: video_broadcast.c:765
U8BIT HBBTV_JSOipfCapabilities_getExtraHDVideoDecodes(void *obj)
readonly Number extraHDVideoDecodes, Section 7.15.3.1. This property is not implemented and returns 0...
Definition: oipf_capabilities.c:148
void * HBBTV_JSLocalSystem_getDeviceID(void *obj)
readonly String deviceID, section 7.3.3.1
Definition: local_system.c:81
void HBBTV_JSVideoBroadcast_unselectComponentType(void *obj, HBBTV_JSAVComponent_Type comp_type)
void unselectComponent( Integer componentType ), Section 7.16.5.1.3
Definition: video_broadcast.c:1166
void * HBBTV_JSOipfRecordingScheduler_getScheduledRecordings(void *obj)
ScheduledRecordingCollection getScheduledRecordings(), Section 7.10.1.1.
Definition: oipf_recording_scheduler.c:282
void * HBBTV_JSOipfRecordingScheduler_getChannelConfig(void *obj)
ChannelConfig getChannelConfig(), Section 7.10.1.1.
Definition: oipf_recording_scheduler.c:116
void * HBBTV_JSParentalRatingScheme_iconUri(void *parental_rating_scheme, U32BIT index)
String iconUri, Section 7.9.2.2.
Definition: parental_rating_scheme.c:202
void * HBBTV_JSMetadataSearch_createQuery(void *metadata_search, S_HBBTV_STRING *field, HBBTV_JSMetadataSearch_Comparison comparison, S_HBBTV_STRING *value)
Query createQuery(String field, Integer comparison, String value), Section 7.12.2.2.
Definition: metadata_search.c:198
void HBBTV_JSAVControl_setPersist(void *avControl, BOOLEAN persist)
Boolean persist [RW], CEA-2014-A Section 5.7.1.f. This function only stores the property value but do...
Definition: av_control.c:568
HBBTV_JSProgrammeID_TYPE
Definition: hbbtv_js.h:220
void HBBTV_JSCollection_addParentalRating(void *collection, S_HBBTV_STRING *scheme, S_HBBTV_STRING *name, U32BIT value, U32BIT labels, S_HBBTV_STRING *region)
void addParentalRating, Section 7.9.5.2
Definition: parental_rating_collection.c:42
void * HBBTV_JSProgramme_getLongDescription(void *programme)
String longDescription, Section 7.16.2.2.
Definition: programme.c:190