Uses of Class
org.openmobilealliance.schema.sti.v1_0.Media

Packages that use Media
org.alembik Provides the classes necessary for connecting to Alembik service and processing transcoding requests. 
org.alembik.util Provides the utility classes handling transcoding request and response objects. 
org.openmobilealliance.schema.sti.v1_0 Provides all the DTO classes defined by OMA-STI v1_0. 
 

Uses of Media in org.alembik
 

Method parameters in org.alembik with type arguments of type Media
static TranscodingRequest TranscodingManager.prepareBestMatchingRequest(java.lang.String sourceUrl, java.lang.String userAgent, java.lang.Class<? extends Media> mediaType, Quality quality, boolean isStreaming)
          Creates a single-job transcoding request instance for the given source location, User-Agent string, specified transcoded content's type and desired quality of a predefined profile selected by "best matching" strategy algorithm.
static TranscodingRequest TranscodingManager.prepareUARequest(java.lang.String sourceUrl, java.lang.String userAgent, java.lang.Class<? extends Media> mediaType, java.lang.Integer width, java.lang.Integer height)
          Creates a single-job transcoding request instance for the given source location, User-Agent string, specified transcoded content's type and (optionally) dimensions.
static TranscodingRequest TranscodingManager.prepareUARequest(java.lang.String sourceUrl, java.lang.String userAgent, java.lang.Class<? extends Media> mediaType, java.lang.Long maxSize)
          Creates a single-job transcoding request instance for the given source location, User-Agent string, specified transcoded content's type and (optionally) size limit.
static TranscodingRequest TranscodingManager.prepareUARequestWithScaling(java.lang.String sourceUrl, java.lang.String userAgent, java.lang.Class<? extends Media> mediaType, java.lang.Integer relativeWidth, java.lang.Integer relativeHeight)
          Creates a single-job transcoding request instance for the given source location, User-Agent string, specified transcoded content's type and (optionally) dimensions in the form of percentage of a device screen size.
 

Uses of Media in org.alembik.util
 

Methods in org.alembik.util that return Media
static Media OMAUtils.getMedia(TranscodingParams profile)
          Returns a media object assigned to the given transcoding profile.
 

Methods in org.alembik.util that return types with arguments of type Media
static java.lang.Class<? extends Media> MimeTypesRepository.getMediaClass(java.lang.String contentType)
          Returns the media class corresponding to the given content type.
 

Methods in org.alembik.util with parameters of type Media
static void TranscodingUtils.addRelativeResize(Media media, java.lang.Integer widthPercent, java.lang.Integer heightPercent, java.lang.String resizeDirective)
          Sets desired content dimensions relative to a target device screen.
static void TranscodingUtils.addResize(Media media, java.lang.Integer width, java.lang.Integer height, java.lang.String resizeDirective)
          Sets desired dimensions for a transcoded content, which will be resized according to the passed resizeDirective argument.
static Transformation OMAUtils.findTransformation(Media media, java.lang.String name)
          Returns a transformation of the specified type from the given media instance, if such exists.
static Properties OMAUtils.getExtensionProperties(Media media)
          Returns "extension data" properties holder of the given media object.
static java.lang.Integer TranscodingUtils.getRelativeHeight(Media media)
          Returns the height percentage requested for the resize relative to the device screen height.
static java.lang.Integer TranscodingUtils.getRelativeWidth(Media media)
          Returns the width percentage requested for the resize relative to the device screen width.
static Transformations OMAUtils.getTransformations(Media media)
          Returns the transformations holder from the given media object.
static boolean TranscodingUtils.isHinting(Media media)
          Checks whether the given video job is to be hinted.
static boolean TranscodingUtils.isHTMLDetection(Media media)
          Checks whether the HTML support detection has been enabled; by default it is disabled.
static boolean TranscodingUtils.isPreserveMetadata(Media media)
          Checks whether the media content's meta-data is to be retained in a transcoded file.
static boolean TranscodingUtils.isStreaming(Media media)
          Checks whether the given video job is to be streamed.
static void TranscodingUtils.removePreserveMetadata(Media media)
          Disables the meta-data preserving request for a media object representing a file to be transcoded.
static void TranscodingUtils.removeRelativeDimensions(Media media)
          Removes relative dimension values if set.
static Transformation OMAUtils.removeTransformation(Media media, java.lang.String name)
          Removes a transformation of the specified type from the given media instance, if such exists.
static void TranscodingUtils.setDimensions(Media media, java.lang.Integer width, java.lang.Integer height)
          Sets the desired width and height for a transcoded content.
static void TranscodingUtils.setHinting(Media media)
          Requests video hinting for the given video job.
static void OMAUtils.setMedia(TranscodingParams profile, Media media)
          Assigns the media type to the given transcoding profile.
static void TranscodingUtils.setPreserveMetadata(Media media)
          Requests Alembik to retain the media content's meta-data in a transcoded file.
static void OMAUtils.setResizeDirective(Media media, java.lang.String directive)
          Sets the desired resize directive for the media instance.
static Transformation OMAUtils.setTransformation(Media media, java.lang.String name)
          Adds a transformation of the desired type to the given media instance, if such does not exist.
 

Uses of Media in org.openmobilealliance.schema.sti.v1_0
 

Subclasses of Media in org.openmobilealliance.schema.sti.v1_0
 class Audio
          Contains audio-specific transcoding params data.
 class Image
          Contains image-specific transcoding params data.
 class Multipart
          Contains multipart-specific transcoding params data.
 class Text
          Contains text-specific transcoding params data.
 class Video
          Contains image-specific transcoding params data.