video
fun Asset.Companion.video(id: Int, required: Boolean, mimes: Array<String>? = null, minduration: Int = 1, maxduration: Int = 60, protocols: ByteArray? = null): Asset
Creates an Asset that only contains a Video parameter
Parameters
id
represents the id for this specific Asset. It must be unique in the same request. it should be matched with the id from a response
required
if the Asset is required or not
mimes
list of mimetypes supported
minduration
minimum duration for the video asset
maxduration
maximum duration for the video asset
protocols
array of protocols supported