Changes

Jump to navigation Jump to search
3,037 bytes added ,  11:04, 2 June 2014
Created page with "{{Api_DataType_Spec |Description=Represents the information for a live schedule, mainly from data coming from EPG ingestion. |Members= {{{!}} border="2" style="width:800px" ce..."
{{Api_DataType_Spec
|Description=Represents the information for a live schedule, mainly from data coming from EPG ingestion.

|Members=
{{{!}} border="2" style="width:800px" cellspacing="0" cellpadding="10"
{{!}}- style="background:#88ccff;font-size:110%"
! Field
! Data Type
! Description
{{!}}- valign="top"

! Active
{{!}} bool
{{!}} Live channel Active true/false
{{!}}- valign="top"

! CallLetter
{{!}} String
{{!}} Channel call letter
{{!}}- valign="top"

! ChannelNumber
{{!}} int
{{!}} Channel number
{{!}}- valign="top"

! Description
{{!}} String
{{!}} Channel description
{{!}}- valign="top"

! Dvr
{{!}} bool
{{!}} Whether the channel has DVR enabled
{{!}}- valign="top"

! EpgLiveChannelReferenceId
{{!}} String
{{!}} EPG Live Channel Reference ID (channel ID as appearing in EPG)
{{!}}- valign="top"

! Genres
{{!}} array of int
{{!}} List of genres IDs associated to channel
{{!}}- valign="top"

! Icons
{{!}} Array of [[Image|Image]] object
{{!}} Icon images associated to the channel
{{!}}- valign="top"

! ID
{{!}} int
{{!}} Internal (MiB) ID of the channel.
{{!}}- valign="top"

! IsPlayback
{{!}} bool
{{!}} Whether the channel has playback enabled
{{!}}- valign="top"

! Name
{{!}} String
{{!}} Channel name.
{{!}}- valign="top"

! Ppv
{{!}} bool
{{!}} PPV channel true/false
{{!}}- valign="top"

! RequiresPin
{{!}} bool
{{!}} Channel requiring PIN true/false
{{!}}- valign="top"

! ResizableImages
{{!}} Array of [[Image|Images]] object
{{!}} It provides the list of original images (non resized) associated with this channel. The application should use the [[UNIAPI_Specification#ThumboxService| Thumbox Service]] to perform dynamic resizing of the images in order to adapt them to the User Interface.
{{!}}- valign="top"

! TimeShift
{{!}} bool
{{!}} bgcolor="#7DC04E" {{!}} '''NEW IN 2.3!''' Channel with TimeShift (RestartTV) capabilities true/false
{{!}}- valign="top"

{{!}}}

|Example=
{
: "ID": 235,
: "Name": "La 1",
: "Description": "",
: "Active": true,
: "IsPlayback": true,
: "Ppv": false,
: "Dvr": false,
: "RequiresPin": false,
: "CallLetter": "La1",
: "ChannelNumber": 1,
: "EpgLiveChannelReferenceId": "1",
: "Genres": array of genres id,
: "Icons": Array of [[Image|Image]] objects,
: "ResizableImages": Array of [[Image|Image]] objects,
: "TimeShift": true
}

|KnownIssues=
None
|VersionHistory=
{{{!}} border="2" style="width:800px;" cellpadding="5" cellspacing="0"
{{!}}- style="background:#88ccff;font-size:110%"
! API Version Number
! Change description
! Changes author
{{!}}- valign="top"
! 1.0
{{!}} Initial data type implementation
{{!}}
{{!}}- valign="top"

{{!}}}

|SeeAlso=
* [[Image|Image]] object
* [[PlaybackType|PlaybackType]] enumeration
* [[UNIAPI_Specification#Network_Pvr_Service| Network PVR Service]] methods
* [[UNIAPI_Specification#Timeshift_Service| TimeShift Service]] methods
* [[UNIAPI_Specification#ThumboxService| Thumbox Service]] for image resizing
}}

Navigation menu