setDuration

fun setDuration(value: Long?)

See MediaMetadataCompat.METADATA_KEY_DURATION.