|
CategorySet Data Object
Description
The container for all of the categories associated with the entire set of matching videos. The CategorySet is returned only if the parameter 'showRelatedItems' is set to 1.
Supported Attributes
This data object supports the following attributes:
|
totalResultsReturned
|
An integer representing the total number of categories returned in this CategorySet.
Usage syntax:
myVar = TVS.CategorySet.totalResultsReturned;
|
|
firstResultPosition
|
An integer representing the position of the first Category in the set of returned categories.
Usage syntax:
myVar = TVS.CategorySet.firstResultPosition;
|
|
Category
|
The container for the name and count values of a single category.
Usage syntax:
myVar = TVS.CategorySet.Category[index];
|
|
name
|
A string containing the name of the category.
Usage syntax:
myVar = TVS.CategorySet.Category[index].name;
|
|
count
|
An integer representing the total number of times this category has been assigned to any of the videos in the result set.
Usage syntax:
myVar = TVS.CategorySet.Category[index].count;
|
|