-
public final class VideoStatisticsModelRepresents various statistics for a video including view counts, watch time, and engagement score.
-
-
Field Summary
Fields Modifier and Type Field Description private final Map<String, Long>viewsChartprivate final Map<String, Long>watchTimeChartprivate final Map<String, Long>countryViewCountsprivate final Map<String, Long>countryWatchTimeprivate final IntegerengagementScore
-
Method Summary
Modifier and Type Method Description final Map<String, Long>getViewsChart()final Map<String, Long>getWatchTimeChart()final Map<String, Long>getCountryViewCounts()final Map<String, Long>getCountryWatchTime()final IntegergetEngagementScore()-
-
Constructor Detail
-
VideoStatisticsModel
VideoStatisticsModel(Map<String, Long> viewsChart, Map<String, Long> watchTimeChart, Map<String, Long> countryViewCounts, Map<String, Long> countryWatchTime, Integer engagementScore)
- Parameters:
viewsChart- A chart representing view counts over time.watchTimeChart- A chart representing total watch time over time.countryViewCounts- View counts grouped by country.countryWatchTime- Total watch time grouped by country.engagementScore- A score representing viewer engagement.
-
-
Method Detail
-
getViewsChart
final Map<String, Long> getViewsChart()
-
getWatchTimeChart
final Map<String, Long> getWatchTimeChart()
-
getCountryViewCounts
final Map<String, Long> getCountryViewCounts()
-
getCountryWatchTime
final Map<String, Long> getCountryWatchTime()
-
getEngagementScore
final Integer getEngagementScore()
-
-
-
-