Single Media Item
class SingleMediaItem(mediaTypes: Set<MediaProcessor.Input.Requirements.MediaType>) : MediaProcessor.Input.Requirements
Content copied to clipboard
Processor requires a single media item of any of the mediaTypes.
NOTE: for backward compatibility purposes, MediaType.AllOriginal is used as first item of a set when mediaTypes contains both MediaType.Videos.Original and MediaType.Images.Original types.
Constructors
SingleMediaItem
Link copied to clipboard
fun SingleMediaItem(vararg mediaTypes: MediaProcessor.Input.Requirements.MediaType)
Content copied to clipboard
SingleMediaItem
Link copied to clipboard
fun SingleMediaItem(mediaTypes: Set<MediaProcessor.Input.Requirements.MediaType>)
Content copied to clipboard
Functions
Properties
mediaType
Link copied to clipboard
Represents the first item of the mediaTypes.
mediaTypes
Link copied to clipboard