getMediaItemSource
Returns a MediaItemSource for the given mediaItem. This method should be used when trying to get the content of a MediaItem.
The given MediaItemSource provides methods to easily gain access to the content of any media item (thumbnails and actual items). Furthermore, the MediaItemSource will, according to the given settings in the SOCommMediaClientBuilder, also implement a caching logic.
Return
An instance of a MediaItemSource which provides easy access to the content of the given mediaItem.
Parameters
mediaItem
The MediaItem to get a MediaItemSource of
Throws
If the storage permissions are not granted. See the JavaDocs at start in which permissions are required.