Jump to content

How to get total livetv channel count


BillOatman

Recommended Posts

BillOatman

To get the count.

 

LiveTvChannelQuery ltQuery = new LiveTvChannelQuery();
 
QueryResult<ChannelInfoDto> cInfo = await client.GetLiveTvChannelsAsync(ltQuery);
int channelCount = cInfo.TotalRecordCount;
 
Or are there more settings in LiveTvChannelQuery I would need to set?
 
Answer ... this is correct.  But you have to authenticate.

 

Edited by BillOatman
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...