HbbTv  17.9.0
Open source HBBTV engine
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Data Structures | Enumerations | Functions
hbbtv_sif_pvr.h File Reference

System Interface, PVR. More...

#include "hbbtv_sif_service.h"

Go to the source code of this file.

Data Structures

struct  S_HBBTV_SCHEDULED_RECORDING_DETAILS
 
struct  S_HBBTV_RECORDING_DETAILS
 

Enumerations

enum  E_HBBTV_RECPLAYER_ERROR {
  HBBTV_RECPLAYER_NO_ERROR = -1, HBBTV_RECPLAYER_FORMAT_NOT_SUPPORTED = 0, HBBTV_RECPLAYER_UNDEFINED = 2, HBBTV_RECPLAYER_NO_RESOURCES,
  HBBTV_RECPLAYER_CORRUPT, HBBTV_RECPLAYER_NOT_AVAILABLE, HBBTV_RECPLAYER_NOT_AVAILABLE_POSITION, HBBTV_RECPLAYER_BLOCKED
}
 

Functions

E_HBBTV_ERR HBBTV_PVRRecordCRID (S_HBBTV_STRING *crid, S_HBBTV_STRING *fqdn, U16BIT *service_lcn, U32BIT *id)
 Schedules an event to be recorded. More...
 
E_HBBTV_ERR HBBTV_PVRRecordEventID (U16BIT event_id, U16BIT service_lcn, S_HBBTV_STRING *fqdn, U32BIT *id)
 Schedules an event to be recorded, the event is identified by its ID and the service LCN. More...
 
E_HBBTV_ERR HBBTV_PVRRecordAt (U16BIT service_lcn, U32BIT start_time, U32BIT duration, U8BIT repeat_days, S_HBBTV_STRING *fqdn, S_HBBTV_EVENT_DETAILS *details, U32BIT *id)
 Schedules a recording based on start time and duration. More...
 
E_HBBTV_ERR HBBTV_PVRGetRecordingId (U32BIT scheduled_recording_id, U32BIT *recording_id)
 Returns the recording ID (as in S_HBBTV_RECORDING_DETAILS) for an in progress scheduled recording represented by scheduled_recording_id. More...
 
E_HBBTV_ERR HBBTV_PVRStopRecording (U32BIT recording_id)
 Stops an in progress recording. More...
 
E_HBBTV_ERR HBBTV_PVRSetScheduledRecordingName (U32BIT id, S_HBBTV_STRING *name)
 Sets the name for the specified scheduled recording. More...
 
E_HBBTV_ERR HBBTV_PVRSetScheduledRecordingDescription (U32BIT id, S_HBBTV_STRING *description)
 Sets the description for the specified scheduled recording. More...
 
E_HBBTV_ERR HBBTV_PVRGetScheduledRecordingDetails (U32BIT id, S_HBBTV_SCHEDULED_RECORDING_DETAILS *details)
 Retrieves the details of the scheduled recording identified by 'id'. Provided HBBTV_OK is returned, the HbbTV engine will call HBBTV_PVRReleaseScheduledRecordingDetails to release allocated data on the same task immediately after it has copied the data. More...
 
void HBBTV_PVRReleaseScheduledRecordingDetails (S_HBBTV_SCHEDULED_RECORDING_DETAILS *details)
 Release data allocated by HBBTV_PVRGetScheduledRecordingDetails (e.g. String data). Always called immediately after the HbbTV engine has copied data. More...
 
E_HBBTV_ERR HBBTV_PVRGetScheduledRecordingList (S_HBBTV_STRING *fqdn, U32BIT *num_ptr, S_HBBTV_SCHEDULED_RECORDING_DETAILS **list_ptr)
 Retrieves the list of recordingins scheduled with the given Full Qualified Domain Name. Provided HBBTV_OK is returned, the HbbTV engine will call HBBTV_PVRReleaseScheduledRecordingList to release allocated data on the same task immediately after it has copied the data. More...
 
void HBBTV_PVRReleaseScheduledRecordingList (U32BIT num, S_HBBTV_SCHEDULED_RECORDING_DETAILS *list)
 Release data allocated by HBBTV_PVRGetScheduledRecordingList (e.g. String data). Always called immediately after the HbbTV engine has copied data. More...
 
E_HBBTV_ERR HBBTV_PVRRemoveScheduledRecording (U32BIT id, S_HBBTV_STRING *fqdn)
 Removes a scheduled recording created with HBBTV_PVRRecordCRID or HBBTV_PVRRecordAt. More...
 
E_HBBTV_ERR HBBTV_PVRSetScheduledRecordingStartPadding (U32BIT id, S32BIT start_padding)
 Changes the start padding value for the specified scheduled recording. More...
 
E_HBBTV_ERR HBBTV_PVRSetScheduledRecordingEndPadding (U32BIT id, S32BIT end_padding)
 Changes the end padding value for the specified scheduled recording. More...
 
E_HBBTV_ERR HBBTV_PVRGetRecordingDetails (U32BIT id, S_HBBTV_RECORDING_DETAILS *details)
 Retrieves the details of the recording identified by 'id'. Provided HBBTV_OK is returned, the HbbTV engine will call HBBTV_PVRReleaseRecordingDetails to release allocated data on the same task immediately after it has copied the data. More...
 
void HBBTV_PVRReleaseRecordingDetails (S_HBBTV_RECORDING_DETAILS *details)
 Release data allocated by HBBTV_PVRGetRecordingDetails (e.g. String data). Always called immediately after the HbbTV engine has copied data. More...
 
E_HBBTV_ERR HBBTV_PVRGetRecordingList (S_HBBTV_STRING *fqdn, U32BIT *num_ptr, S_HBBTV_RECORDING_DETAILS **list_ptr)
 Retrieves the list of recordings completed or in progress with the given Fully Qualified Domain Name. Provided HBBTV_OK is returned, the HbbTV engine will call HBBTV_PVRReleaseScheduledRecordingList to release allocated data on the same task immediately after it has copied the data. More...
 
void HBBTV_PVRReleaseRecordingList (U32BIT num, S_HBBTV_RECORDING_DETAILS *list)
 Release data allocated by HBBTV_PVRGetRecordingList (e.g. String data). Always called immediately after the HbbTV engine has copied data. More...
 
E_HBBTV_ERR HBBTV_PVRPlayInit (U32BIT recording_id, void **handle)
 Initialises an instance of PVR player for the specified recording id and returns its handle. More...
 
E_HBBTV_ERR HBBTV_PVRPlayExit (void *handle)
 Releases the specified instance of PVR playe. More...
 
E_HBBTV_ERR HBBTV_PVRPlayStart (void *handle)
 Starts the presentatio of the specified PVR player. More...
 
E_HBBTV_ERR HBBTV_PVRPlayStop (void *handle)
 Stops the presentation of the specified PVR player. More...
 
E_HBBTV_ERR HBBTV_PVRPlayPause (void *handle)
 Pauses the PVR player. More...
 
E_HBBTV_ERR HBBTV_PVRPlayResume (void *handle)
 Resumes the PVR player. More...
 
E_HBBTV_ERR HBBTV_PVRPlaySeek (void *handle, U32BIT position)
 Changes the position of the PVR player. More...
 
E_HBBTV_ERR HBBTV_PVRPlayGetPosition (void *handle, U32BIT *position)
 Returns the current position in the recording. More...
 
E_HBBTV_ERR HBBTV_PVRPlayGetLength (void *handle, U32BIT *length)
 Returns the length of the recording. More...
 
E_HBBTV_ERR HBBTV_PVRPlayGetComponentList (void *handle, E_HBBTV_COMPONENT_TYPE type, U32BIT *num_ptr, S_HBBTV_COMPONENT_DETAILS **list_ptr)
 Retrieves the list of available components in the recording. Provided HBBTV_OK is returned, the HbbTV engine will call HBBTV_PVRPlayReleaseComponentList to release allocated data on the same task immediately after the HbbTV engine has copied the data. More...
 
void HBBTV_PVRPlayReleaseComponentList (void *handle, S_HBBTV_COMPONENT_DETAILS *list_ptr)
 Release data allocated by HBBTV_PVRPlayGetComponentList. Always called immediately after the HbbTV engine has copied data. More...
 
E_HBBTV_ERR HBBTV_PVRPlaySelectComponent (void *handle, S_HBBTV_COMPONENT_DETAILS *component)
 Replace any component of the same type with the specified one. If the component_tag field is set to -1, the default component for the specified type must be selected. This function can be called before or after the media player has been started. More...
 
E_HBBTV_ERR HBBTV_PVRPlayUnselectComponent (void *handle, S_HBBTV_COMPONENT_DETAILS *component)
 Stops rendering the specified component. If the component_tag field is set to -1, any component with the specified type must be stopped. More...
 
E_HBBTV_ERR HBBTV_PVRPlaySetRectangle (void *handle, S_HBBTV_RECT *rect)
 Changes position and size of the video presentation window. More...
 
E_HBBTV_RECPLAYER_ERROR HBBTV_PVRPlayGetError (void *handle)
 Retrieves the error code from the PVR player. More...
 
BOOLEAN HBBTV_PVRIsStorageDeviceAvailable (void)
 Retrieves the PVR storage device availability status. More...
 

Detailed Description

System Interface, PVR.

Date
January 2014
Author
Sergio Panseri

Function Documentation

E_HBBTV_ERR HBBTV_PVRGetRecordingDetails ( U32BIT  id,
S_HBBTV_RECORDING_DETAILS details 
)

Retrieves the details of the recording identified by 'id'. Provided HBBTV_OK is returned, the HbbTV engine will call HBBTV_PVRReleaseRecordingDetails to release allocated data on the same task immediately after it has copied the data.

Parameters
idRecording unique identifier.
detailsPointer where the details will be returned.
Returns
- HBBTV_OK on success
  • HBBTV_ERR_BAD_PARAMETER
  • HBBTV_ERR_ALLOCATING_MEMORY
  • HBBTV_ERR_OTHER
E_HBBTV_ERR HBBTV_PVRGetRecordingId ( U32BIT  scheduled_recording_id,
U32BIT *  recording_id 
)

Returns the recording ID (as in S_HBBTV_RECORDING_DETAILS) for an in progress scheduled recording represented by scheduled_recording_id.

Parameters
scheduled_recording_idScheduled recording unique identifier, as returned by HBBTV_PVRRecordAt or HBBTV_PVRRecordCRID.
record_idPointer to the returned recording ID.
Returns
- HBBTV_OK on success
  • HBBTV_ERR_BAD_PARAMETER otherwise
E_HBBTV_ERR HBBTV_PVRGetRecordingList ( S_HBBTV_STRING fqdn,
U32BIT *  num_ptr,
S_HBBTV_RECORDING_DETAILS **  list_ptr 
)

Retrieves the list of recordings completed or in progress with the given Fully Qualified Domain Name. Provided HBBTV_OK is returned, the HbbTV engine will call HBBTV_PVRReleaseScheduledRecordingList to release allocated data on the same task immediately after it has copied the data.

Parameters
fqdnPointer to a utf-8 string containing the application Full Qualified Domain Name to be stored with the scheduled recording and the resulting recording. This function makes a copy of it as the engine does not guarantee the pointer will be valid after the function returns.
num_ptrPointer to number of recordings (Not NULL)
list_ptrPointer to S_HBBTV_RECORDING_DETAILS (Not NULL)
Returns
- HBBTV_OK on success
  • HBBTV_ERR_BAD_PARAMETER
  • HBBTV_ERR_ALLOCATING_MEMORY
  • HBBTV_ERR_OTHER
E_HBBTV_ERR HBBTV_PVRGetScheduledRecordingDetails ( U32BIT  id,
S_HBBTV_SCHEDULED_RECORDING_DETAILS details 
)

Retrieves the details of the scheduled recording identified by 'id'. Provided HBBTV_OK is returned, the HbbTV engine will call HBBTV_PVRReleaseScheduledRecordingDetails to release allocated data on the same task immediately after it has copied the data.

Parameters
idScheduled recording unique identifier as returned by HBBTV_PVRRecordCRID or HBBTV_PVRRecordAt.
detailsPointer where the details will be returned.
Returns
- HBBTV_OK on success
  • HBBTV_ERR_BAD_PARAMETER
  • HBBTV_ERR_ALLOCATING_MEMORY
  • HBBTV_ERR_OTHER
E_HBBTV_ERR HBBTV_PVRGetScheduledRecordingList ( S_HBBTV_STRING fqdn,
U32BIT *  num_ptr,
S_HBBTV_SCHEDULED_RECORDING_DETAILS **  list_ptr 
)

Retrieves the list of recordingins scheduled with the given Full Qualified Domain Name. Provided HBBTV_OK is returned, the HbbTV engine will call HBBTV_PVRReleaseScheduledRecordingList to release allocated data on the same task immediately after it has copied the data.

Parameters
fqdnPointer to a utf-8 string containing the application Full Qualified Domain Name to be stored with the scheduled recording and the resulting recording. This function makes a copy of it as the engine does not guarantee the pointer will be valid after the function returns.
num_ptrPointer to number of events (Not NULL)
list_ptrPointer to S_HBBTV_EVENT_DETAILS Pointer (Not NULL)
Returns
- HBBTV_OK on success
  • HBBTV_ERR_BAD_PARAMETER
  • HBBTV_ERR_ALLOCATING_MEMORY
  • HBBTV_ERR_OTHER
BOOLEAN HBBTV_PVRIsStorageDeviceAvailable ( void  )

Retrieves the PVR storage device availability status.

Returns
TRUE if a storage device is present, formatted and ready to use for PVR, FALSE otherwise.
E_HBBTV_ERR HBBTV_PVRPlayExit ( void *  handle)

Releases the specified instance of PVR playe.

Parameters
handleHandle
Returns
- HBBTV_OK on success
  • HBBTV_ERR_BAD_PARAMETER
  • HBBTV_ERR_OTHER
E_HBBTV_ERR HBBTV_PVRPlayGetComponentList ( void *  handle,
E_HBBTV_COMPONENT_TYPE  type,
U32BIT *  num_ptr,
S_HBBTV_COMPONENT_DETAILS **  list_ptr 
)

Retrieves the list of available components in the recording. Provided HBBTV_OK is returned, the HbbTV engine will call HBBTV_PVRPlayReleaseComponentList to release allocated data on the same task immediately after the HbbTV engine has copied the data.

Parameters
handleHandle
typeRequired component type
num_ptrPointer to number of components (Not NULL)
list_ptrPointer to S_HBBTV_COMPONENT_DETAILS Pointer (Not NULL)
Returns
- HBBTV_OK on success
  • HBBTV_ERR_BAD_PARAMETER
  • HBBTV_ERR_ALLOCATING_MEMORY
  • HBBTV_ERR_OTHER
E_HBBTV_RECPLAYER_ERROR HBBTV_PVRPlayGetError ( void *  handle)

Retrieves the error code from the PVR player.

Parameters
handleHandle
Returns
E_HBBTV_RECPLAYER_ERROR error code
E_HBBTV_ERR HBBTV_PVRPlayGetLength ( void *  handle,
U32BIT *  length 
)

Returns the length of the recording.

Parameters
handleHandle
lengthLength of the recording in milliseconds
Returns
- HBBTV_OK on success
  • HBBTV_ERR_BAD_PARAMETER
  • HBBTV_ERR_OTHER
E_HBBTV_ERR HBBTV_PVRPlayGetPosition ( void *  handle,
U32BIT *  position 
)

Returns the current position in the recording.

Parameters
handleHandle
positionCurrent position in in milliseconds in the recording
Returns
- HBBTV_OK on success
  • HBBTV_ERR_BAD_PARAMETER
  • HBBTV_ERR_OTHER
E_HBBTV_ERR HBBTV_PVRPlayInit ( U32BIT  recording_id,
void **  handle 
)

Initialises an instance of PVR player for the specified recording id and returns its handle.

Parameters
recording_idRecording id as in S_HBBTV_RECORDING_DETAILS structure
handleHandle
Returns
- HBBTV_OK on success
  • HBBTV_ERR_BAD_PARAMETER
  • HBBTV_ERR_ALLOCATING_MEMORY
  • HBBTV_ERR_OTHER
E_HBBTV_ERR HBBTV_PVRPlayPause ( void *  handle)

Pauses the PVR player.

Parameters
handleHandle
Returns
- HBBTV_OK on success
  • HBBTV_ERR_BAD_PARAMETER
  • HBBTV_ERR_OTHER
void HBBTV_PVRPlayReleaseComponentList ( void *  handle,
S_HBBTV_COMPONENT_DETAILS list_ptr 
)

Release data allocated by HBBTV_PVRPlayGetComponentList. Always called immediately after the HbbTV engine has copied data.

Parameters
recording_idRecording id as in S_HBBTV_RECORDING_DETAILS structure
handleHandle
list_ptrPointer to S_HBBTV_COMPONENT_DETAILS
Returns
- HBBTV_OK on success
  • HBBTV_ERR_BAD_PARAMETER
E_HBBTV_ERR HBBTV_PVRPlayResume ( void *  handle)

Resumes the PVR player.

Parameters
handleHandle
Returns
- HBBTV_OK on success
  • HBBTV_ERR_BAD_PARAMETER
  • HBBTV_ERR_OTHER
E_HBBTV_ERR HBBTV_PVRPlaySeek ( void *  handle,
U32BIT  position 
)

Changes the position of the PVR player.

Parameters
handleHandle
positionposition in in milliseconds in the recording
Returns
- HBBTV_OK on success
  • HBBTV_ERR_BAD_PARAMETER
  • HBBTV_ERR_OTHER
E_HBBTV_ERR HBBTV_PVRPlaySelectComponent ( void *  handle,
S_HBBTV_COMPONENT_DETAILS component 
)

Replace any component of the same type with the specified one. If the component_tag field is set to -1, the default component for the specified type must be selected. This function can be called before or after the media player has been started.

Parameters
handleHandle
componentPointer to the component to be rendered
Returns
- HBBTV_OK on success
  • HBBTV_ERR_BAD_PARAMETER
  • HBBTV_ERR_OTHER
E_HBBTV_ERR HBBTV_PVRPlaySetRectangle ( void *  handle,
S_HBBTV_RECT rect 
)

Changes position and size of the video presentation window.

Parameters
handleHandle
rectPointer to the rectangle defining the presentation window. Values are in HbbTV 1280x720 coordinates.
Returns
- HBBTV_OK on success
  • HBBTV_ERR_BAD_PARAMETER
  • HBBTV_ERR_OTHER
E_HBBTV_ERR HBBTV_PVRPlayStart ( void *  handle)

Starts the presentatio of the specified PVR player.

Parameters
handleHandle
Returns
- HBBTV_OK on success
  • HBBTV_ERR_BAD_PARAMETER
  • HBBTV_ERR_ALLOCATING_MEMORY
  • HBBTV_ERR_OTHER
E_HBBTV_ERR HBBTV_PVRPlayStop ( void *  handle)

Stops the presentation of the specified PVR player.

Parameters
handleHandle
Returns
- HBBTV_OK on success
  • HBBTV_ERR_BAD_PARAMETER
  • HBBTV_ERR_OTHER
E_HBBTV_ERR HBBTV_PVRPlayUnselectComponent ( void *  handle,
S_HBBTV_COMPONENT_DETAILS component 
)

Stops rendering the specified component. If the component_tag field is set to -1, any component with the specified type must be stopped.

Parameters
handleHandle
componentPointer to the component to be stopped
Returns
- HBBTV_OK on success
  • HBBTV_ERR_BAD_PARAMETER
  • HBBTV_ERR_OTHER
E_HBBTV_ERR HBBTV_PVRRecordAt ( U16BIT  service_lcn,
U32BIT  start_time,
U32BIT  duration,
U8BIT  repeat_days,
S_HBBTV_STRING fqdn,
S_HBBTV_EVENT_DETAILS details,
U32BIT *  id 
)

Schedules a recording based on start time and duration.

Parameters
service_lcnLCN in the current channel list of the service to be recorded
start_timeStart of the time period of the recording measured in seconds since midnight (GMT) on 1/1/1970. If the start time occurs in the past and the current time is within the specified duration of the recording, the recording starts immediately.
durationDuration of the recording in seconds.
repeat_daysBitfield indicating which days of the week the recording should be repeated. The meaning of each bit is the following:
  • b0: Sunday
  • b1: Monday
  • b2: Tuesday
  • b3: Wednesday
  • b4: Thursday
  • b5: Friday
  • b6: Saturday
fqdnPointer to a utf-8 string containing the application Full Qualified Domain Name to be stored with the scheduled recording and the resulting recording. This function makes a copy of it as the engine does not guarantee the pointer will be valid after the function returns.
detailsPointer to the details of the event to be recorded. The engine will call HBBTV_ReleaseEventDetails to release allocated data on the same task and immediately after it has copied the data.
idPointer to a U32BIT representing the scheduled recording unique identifier
Returns
- HBBTV_OK on success
  • HBBTV_ERR_OTHER if the recording couldn't be scheduled
E_HBBTV_ERR HBBTV_PVRRecordCRID ( S_HBBTV_STRING crid,
S_HBBTV_STRING fqdn,
U16BIT *  service_lcn,
U32BIT *  id 
)

Schedules an event to be recorded.

Parameters
cridPointer to S_HBBTV_STRING containing the CRID for the event to be scheduled for recording. This function makes a copy of it as the engine does not guarantee the pointer will be valid after the function returns.
fqdnPointer to a utf-8 string containing the application Full Qualified Domain Name to be stored with the scheduled recording and the resulting recording. This function makes a copy of it as the engine does not guarantee the pointer will be valid after the function returns.
service_lcnPointer to a U16BIT representing the service LCN in the current channel list associated with the event to be recorded
idPointer to a U32BIT representing the scheduled recording unique identifier
Returns
- HBBTV_OK on success
  • HBBTV_ERR_BAD_PARAMETER if programCrid is invalid
  • HBBTV_ERR_OTHER if the event couldn't be scheduled for recording
E_HBBTV_ERR HBBTV_PVRRecordEventID ( U16BIT  event_id,
U16BIT  service_lcn,
S_HBBTV_STRING fqdn,
U32BIT *  id 
)

Schedules an event to be recorded, the event is identified by its ID and the service LCN.

Parameters
event_idDVB event ID representing the event to be recorded.
service_lcnservice LCN in the current channel list associated with the event to be recorded.
fqdnPointer to a utf-8 string containing the application Full Qualified Domain Name to be stored with the scheduled recording and the resulting recording. This function makes a copy of it as the engine does not guarantee the pointer will be valid after the function returns.
idPointer to a U32BIT representing the scheduled recording unique identifier
Returns
- HBBTV_OK on success
  • HBBTV_ERR_BAD_PARAMETER if programCrid is invalid
  • HBBTV_ERR_OTHER if the event couldn't be scheduled for recording
void HBBTV_PVRReleaseRecordingDetails ( S_HBBTV_RECORDING_DETAILS details)

Release data allocated by HBBTV_PVRGetRecordingDetails (e.g. String data). Always called immediately after the HbbTV engine has copied data.

Parameters
detailsPointer to the S_HBBTV_RECORDING_DETAILS filled by HBBTV_PVRGetRecordingDetails.
void HBBTV_PVRReleaseRecordingList ( U32BIT  num,
S_HBBTV_RECORDING_DETAILS list 
)

Release data allocated by HBBTV_PVRGetRecordingList (e.g. String data). Always called immediately after the HbbTV engine has copied data.

Parameters
numnumber of elements in the list
list_ptrPointer to S_HBBTV_RECORDING_DETAILS list
void HBBTV_PVRReleaseScheduledRecordingDetails ( S_HBBTV_SCHEDULED_RECORDING_DETAILS details)

Release data allocated by HBBTV_PVRGetScheduledRecordingDetails (e.g. String data). Always called immediately after the HbbTV engine has copied data.

Parameters
detailsPointer to the S_HBBTV_SCHEDULED_RECORDING_DETAILS filled by HBBTV_PVRGetScheduledRecordingDetails.
void HBBTV_PVRReleaseScheduledRecordingList ( U32BIT  num,
S_HBBTV_SCHEDULED_RECORDING_DETAILS list 
)

Release data allocated by HBBTV_PVRGetScheduledRecordingList (e.g. String data). Always called immediately after the HbbTV engine has copied data.

Parameters
numnumber of elements in the list
list_ptrPointer to S_HBBTV_SCHEDULED_RECORDING_DETAILS list
E_HBBTV_ERR HBBTV_PVRRemoveScheduledRecording ( U32BIT  id,
S_HBBTV_STRING fqdn 
)

Removes a scheduled recording created with HBBTV_PVRRecordCRID or HBBTV_PVRRecordAt.

Returns
- HBBTV_OK on success
  • HBBTV_ERR_BAD_PARAMETER
  • HBBTV_ERR_OTHER
Parameters
idScheduled recording unique identifier as returned by HBBTV_PVRRecordCRID or HBBTV_PVRRecordAt.
fqdnPointer to a utf-8 string containing the application Full Qualified Domain Name to be stored with the scheduled recording and the resulting recording. This function makes a copy of it as the engine does not guarantee the pointer will be valid after the function returns.
E_HBBTV_ERR HBBTV_PVRSetScheduledRecordingDescription ( U32BIT  id,
S_HBBTV_STRING description 
)

Sets the description for the specified scheduled recording.

Parameters
idScheduled recording unique identifier as returned by HBBTV_PVRRecordCRID or HBBTV_PVRRecordAt.
descriptionDescription to be associated with the specified scheduled recording
Returns
- HBBTV_OK on success
  • HBBTV_ERR_OTHER if the name cannot be set
E_HBBTV_ERR HBBTV_PVRSetScheduledRecordingEndPadding ( U32BIT  id,
S32BIT  end_padding 
)

Changes the end padding value for the specified scheduled recording.

Parameters
idScheduled recording unique identifier as returned by HBBTV_PVRRecordCRID or HBBTV_PVRRecordAt.
end_paddingnew value of end padding
Returns
- HBBTV_OK on success
  • HBBTV_ERR_OTHER
E_HBBTV_ERR HBBTV_PVRSetScheduledRecordingName ( U32BIT  id,
S_HBBTV_STRING name 
)

Sets the name for the specified scheduled recording.

Parameters
idScheduled recording unique identifier as returned by HBBTV_PVRRecordCRID or HBBTV_PVRRecordAt.
Namename to be associated with the specified scheduled recording
Returns
- HBBTV_OK on success
  • HBBTV_ERR_OTHER if the name cannot be set
E_HBBTV_ERR HBBTV_PVRSetScheduledRecordingStartPadding ( U32BIT  id,
S32BIT  start_padding 
)

Changes the start padding value for the specified scheduled recording.

Parameters
idScheduled recording unique identifier as returned by HBBTV_PVRRecordCRID or HBBTV_PVRRecordAt.
start_paddingnew value of start padding
Returns
- HBBTV_OK on success
  • HBBTV_ERR_OTHER
E_HBBTV_ERR HBBTV_PVRStopRecording ( U32BIT  recording_id)

Stops an in progress recording.

Parameters
recordingid recordig ID
Returns
- HBBTV_OK on success
  • HBBTV_ERR_BAD_PARAMETER otherwise