Difference between revisions of "Channel"

From Gvp-public
Jump to navigation Jump to search
Line 47: Line 47:
 
! HasFeaturedMovies
 
! HasFeaturedMovies
 
{{!}} bool
 
{{!}} bool
{{!}} Not used by the UNIAPI, just send the value (true|false) to device. It means that the value represent the same value registered in Mib Tools.
+
{{!}} Not used by the UNIAPI, just send the value (true/false) to device. It means that the value represent the same value registered in Mib Tools.
 
{{!}}- valign="top"
 
{{!}}- valign="top"
  

Revision as of 20:41, 2 June 2014

Represents a Channel object. Channel is sections that the user can access to list the contents associated to then. Contents are associated for a channel using the Content Criteria in the MIB Tool.

Members

Field Data Type Description
ID int Unique identifier for the Channel
IsEnabled bool Define if a channel is available
Title String The title for the Channel that will be shown to end users
ParentChannelId int Used to define the hierarchic levels of channels. A number represent the parent channel, usually to organize the channel tree level to create the menu navigation.
Images Array of Image object Array of images attached to channel
HasChildren bool Value to define if a channel has other channel inside then.
HasMovies bool DEPRECATED. Since GVP 2.4, this object will not be returned anymore.
HasFeaturedMovies bool Not used by the UNIAPI, just send the value (true/false) to device. It means that the value represent the same value registered in Mib Tools.
RequiresPin bool Define if a channel need the Parental PIN to access.
ProductSelectionId int Represents the ID of the ContentCriteria registered in this channel (It should be deprecated in future versions).
SubscriptionId int Set the product which the click on channel should be redirect to then.
BundleId int Set the product which the click on channel should be redirect to then.
HasNew bool Not used by the UNIAPI, just send the value (true


Example

{

"ID":236
"IsEnabled": true,
"Title": "Root TDIG Go",
"Description": "Description",
"ParentChannelId": 0,
"Images": [
Array of Image object
],
"HasChildren": true,
"HasMovies": false,
"HasFeaturedMovies": true,
"RequiresPin": false,
"ProductSelectionId": 0,
"SubscriptionId": 0,
"BundleId": 0,
"HasNew": false,
"HasPopular": false,
"DisableNavigation": false,
"Ordination": 7,
"IsSpecialChannel": false,
"ResizeblaImages": [
Array of Image object
]

}


Known issues

None


Version history

API Version Number Change description Changes author
1.0 Initial data type implementation Harley Cabral


See also