# Uses of Enum Class
org.silverpeas.components.gallery.constant.MediaResolution

Packages that use MediaResolution
Package
Description
org.silverpeas.components.gallery.constant
org.silverpeas.components.gallery.model

- ## Uses of MediaResolution in org.silverpeas.components.gallery.constant

  Fields in org.silverpeas.components.gallery.constant with type parameters of type MediaResolution
  Modifier and Type
  Field
  Description
  `static final Set<MediaResolution>`
  MediaResolution.`ALL`
  Methods in org.silverpeas.components.gallery.constant that return MediaResolution
  Modifier and Type
  Method
  Description
  `static MediaResolution`
  MediaResolution.`fromNameOrLabel(String nameOrLabel)`
  `static MediaResolution`
  MediaResolution.`valueOf(String name)`
  Returns the enum constant of this class with the specified name.
  `static MediaResolution[]`
  MediaResolution.`values()`
  Returns an array containing the constants of this enum class, in the order they are declared.
  Methods in org.silverpeas.components.gallery.constant with parameters of type MediaResolution
  Modifier and Type
  Method
  Description
  `static URI`
  GalleryResourceURIs.`buildMediaContentURI(Media media, MediaResolution mediaResolution)`
  Centralized the build of a media content URI according to the specified resolution.
  `static URI`
  GalleryResourceURIs.`buildMediaEmbedURI(Media media, MediaResolution mediaResolution)`
  Centralized the build of a media embed URI according to the specified resolution.

- ## Uses of MediaResolution in org.silverpeas.components.gallery.model

  Methods in org.silverpeas.components.gallery.model with parameters of type MediaResolution
  Modifier and Type
  Method
  Description
  `String`
  Media.`getApplicationEmbedUrl(MediaResolution mediaResolution)`
  Gets the Application URL thumbnail of the media according the specified media resolution.
  `String`
  Photo.`getApplicationEmbedUrl(MediaResolution mediaResolution)`
  `String`
  Streaming.`getApplicationEmbedUrl(MediaResolution mediaResolution)`
  `String`
  InternalMedia.`getApplicationThumbnailUrl(MediaResolution mediaResolution)`
  `String`
  Media.`getApplicationThumbnailUrl(MediaResolution mediaResolution)`
  Gets the Application URL thumbnail of the media according the specified media resolution.
  `org.silverpeas.core.io.file.SilverpeasFile`
  InternalMedia.`getFile(MediaResolution mediaResolution, String size)`
  `org.silverpeas.core.io.file.SilverpeasFile`
  Media.`getFile(MediaResolution mediaResolution)`
  Gets the Silverpeas file.
  `abstract org.silverpeas.core.io.file.SilverpeasFile`
  Media.`getFile(MediaResolution mediaResolution, String size)`
  Gets the Silverpeas file.
  `org.silverpeas.core.io.file.SilverpeasFile`
  Streaming.`getFile(MediaResolution mediaResolution, String size)`