Skip to content

Commit

Permalink
Update documentation in ch.srgssr.pillarbox.core.business.comscore
Browse files Browse the repository at this point in the history
  • Loading branch information
MGaetan89 committed Nov 5, 2024
1 parent 303458f commit fe9637b
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,17 @@ import com.comscore.streaming.ContentMetadata
import com.comscore.streaming.StreamingAnalytics

/**
* ComScore tracker
* A [MediaItemTracker] implementation for ComScore analytics.
*
* @param streamingAnalytics the [StreamingAnalytics] to use with this tracker.
* @param streamingAnalytics The [StreamingAnalytics] instance to use for tracking.
*/
class ComScoreTracker internal constructor(
private val streamingAnalytics: StreamingAnalytics = StreamingAnalytics()
) : MediaItemTracker<ComScoreTracker.Data> {
/**
* Data for ComScore
* Represents data to be sent to ComScore.
*
* @property assets labels to send to ComScore StreamingAnalytics
* @property assets A map of labels to be sent to ComScore.
*/
data class Data(val assets: Map<String, String>)

Expand Down Expand Up @@ -220,7 +220,7 @@ class ComScoreTracker internal constructor(
}

/**
* Factory
* A factory class responsible for creating instances of [ComScoreTracker].
*/
class Factory : MediaItemTracker.Factory<Data> {
override fun create(): ComScoreTracker {
Expand Down

0 comments on commit fe9637b

Please sign in to comment.