VideoProperties

class VideoProperties @JvmOverloads constructor(val title: String? = null, val genre: List<String>? = null, val contentType: List<String>? = null, val country: String? = null, runtimeSec: Int? = null, val ageRating: String? = null, val originalLanguage: String? = null, val audioLanguage: String? = null, val areSubtitlesEnabled: Boolean? = null, val subtitlesLanguage: String? = null, val seasonNumber: Int? = null, val episodeNumber: Int? = null, val consecutiveEpisodes: Int? = null, val iabCategories: List<String>? = null) : PermutiveParams

Standard properties on all video events. All properties are optional.

Parameters

title

Title of the video

genre

List of video’s genres

contentType

List of video's content types

country

Origin country of the content

runtimeSec

Runtime of the content in seconds. Must not be negative.

ageRating

Age rating of the content

originalLanguage

Original language of the content

audioLanguage

Language of the audio the content was watched with

areSubtitlesEnabled

Whether subtitles were enabled when watched

subtitlesLanguage

Language of the subtitles the content was watched with

seasonNumber

Season number

episodeNumber

Episode number

consecutiveEpisodes

Number of episodes that a user has watched consecutively

iabCategories

IAB content taxonomy categories

Constructors

Link copied to clipboard
fun VideoProperties(title: String? = null, genre: List<String>? = null, contentType: List<String>? = null, country: String? = null, runtimeSec: Int? = null, ageRating: String? = null, originalLanguage: String? = null, audioLanguage: String? = null, areSubtitlesEnabled: Boolean? = null, subtitlesLanguage: String? = null, seasonNumber: Int? = null, episodeNumber: Int? = null, consecutiveEpisodes: Int? = null, iabCategories: List<String>? = null)

Types

Link copied to clipboard
class Builder

Builder for VideoProperties

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
val ageRating: String? = null
Link copied to clipboard
Link copied to clipboard
val audioLanguage: String? = null
Link copied to clipboard
Link copied to clipboard
val contentType: List<String>? = null
Link copied to clipboard
val country: String? = null
Link copied to clipboard
val episodeNumber: Int? = null
Link copied to clipboard
val genre: List<String>? = null
Link copied to clipboard
val iabCategories: List<String>? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val seasonNumber: Int? = null
Link copied to clipboard
Link copied to clipboard
val title: String? = null