getContentDuration

abstract fun getContentDuration(): Long

Returns the content media duration in milliseconds (or -1 for live content)