getDuration

abstract fun getDuration(): Long

Returns the current media's duration (in seconds).