getDuration

@IntRange(from = 0)
abstract fun getDuration(): Int

Returns total playback duration in milliseconds.