CoreMedia Content Cloud v11 Upgrade Guide / Version 2110
Table Of Contents
Depending on the particular backend, a MediaStore
implementation is possibly not able to
upload blobs without a content type. Therefore, CoreMedia introduced a new variant of the interface method
MediaStore#upload
with an additional content type argument and deprecated the old variant.
Moreover, the new method returns an UploadResult
, which consists of the size of the blob and
an optional UUID. It is a default method which delegates to the old one, so you do not need to change your
MediaStore
implementations immediately.
There is also a new variant of the MediaStore#download
method, which receives the UUID
that has been assigned to the blob by the upload method. It is a backward compatible default method.