2,903 bytes added
, 11:04, 2 June 2014
{{Api_DataType_Spec
|Description=Represents a LiveChannel object, modeling all the properties or fields associated with live (linear TV) channels.
|Members=
{{{!}} border="2" style="width:800px" cellspacing="0" cellpadding="10"
{{!}}- style="background:#88ccff;font-size:110%"
! Field
! Data Type
! Description
{{!}}- valign="top"
! Active
{{!}} bool
{{!}} Channel active true/false
{{!}}- valign="top"
! CallLetter
{{!}} String
{{!}} Call letter of the channel
{{!}}- valign="top"
! ChannelNumber
{{!}} int
{{!}} Numeric channel number
{{!}}- valign="top"
! Description
{{!}} String
{{!}} Short description of the of the live channel, as appearing in EPG file
{{!}}- valign="top"
! Dvr
{{!}} bool
{{!}} "DVR enabled" channel true/false
{{!}}- valign="top"
! EpgLiveChannelReferenceId
{{!}} String
{{!}} Channel ID as appearing in EPG file.
{{!}}- valign="top"
! Genres
{{!}} Array of int
{{!}} List of genres IDs associated to the channel.
{{!}}- valign="top"
! Icons
{{!}} Array of [[Image]] object
{{!}} Icon images associated to the channel
{{!}}- valign="top"
! ID
{{!}} int
{{!}} Internal (MiB) ID of the channel.
{{!}}- 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]] 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,
: "Ppv": false,
: "Dvr": false,
: "RequiresPin": false,
: "CallLetter": "La1",
: "ChannelNumber": 1,
: "EpgLiveChannelReferenceId": "1",
: "Genres": array of genres id,
: "Icons": Array of [[Image]] objects,
: "ResizableImages": Array of [[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]] object
* [[UNIAPI_Specification#Network_Pvr_Service| Network PVR Service]] methods
* [[UNIAPI_Specification#Timeshift_Service| TimeShift Service]] methods
* [[UNIAPI_Specification#ThumboxService| Thumbox Service]] for image resizing
}}