public interface AssetBankService
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Observable<retrofit2.Response<List<Brand>>> |
getBrands()
Get Brands.
|
io.reactivex.Observable<retrofit2.Response<DownloadUrl>> |
getMediaDownloadUrl(MediaDownloadQuery mediaDownloadQuery)
Gets the download file URL for a specific media asset file.
|
io.reactivex.Observable<retrofit2.Response<Media>> |
getMediaInfo(MediaInfoQuery mediaInfoQuery)
Gets all the information for a specific media.
|
io.reactivex.Observable<retrofit2.Response<List<Media>>> |
getMediaList(MediaQuery mediaQuery)
Gets a list of media using query information.
|
io.reactivex.Observable<retrofit2.Response<Map<String,Metaproperty>>> |
getMetaproperties(MetapropertyQuery metapropertyQuery)
Get Metaproperties.
|
io.reactivex.Observable<retrofit2.Response<List<Tag>>> |
getTags()
Get Tags.
|
io.reactivex.Observable<retrofit2.Response<Void>> |
setMediaProperties(MediaPropertiesQuery mediaPropertiesQuery)
Updates the properties of a media asset.
|
io.reactivex.Observable<SaveMediaResponse> |
uploadFile(UploadQuery uploadQuery)
Uploads a file with the information specified in the query parameter.
|
io.reactivex.Observable<UploadProgress> |
uploadFileWithProgress(UploadQuery uploadQuery)
Uploads a file with Progress Report.
|
io.reactivex.Observable<retrofit2.Response<List<Brand>>> getBrands()
Observable with list of Brand.io.reactivex.Observable<retrofit2.Response<List<Tag>>> getTags()
Observable with list of Tag.io.reactivex.Observable<retrofit2.Response<Map<String,Metaproperty>>> getMetaproperties(MetapropertyQuery metapropertyQuery) throws IllegalAccessException
metapropertyQuery - Information about if media count should be included in the
metaproperty options or not.Observable with Map of String, Metaproperty key/value pairs.IllegalAccessException - Check Utils.convertField(Field, Object, Map) for more
information.io.reactivex.Observable<retrofit2.Response<List<Media>>> getMediaList(MediaQuery mediaQuery) throws IllegalAccessException
mediaQuery - Information to correctly filter/paginate media.Observable with list of Media.IllegalAccessException - Check Utils.convertField(Field, Object, Map) for more
information.io.reactivex.Observable<retrofit2.Response<Media>> getMediaInfo(MediaInfoQuery mediaInfoQuery) throws IllegalAccessException
mediaInfoQuery - Information about the media we want to get the information from.Observable with Media information.IllegalAccessException - Check Utils.convertField(Field, Object, Map) for more
information.io.reactivex.Observable<retrofit2.Response<DownloadUrl>> getMediaDownloadUrl(MediaDownloadQuery mediaDownloadQuery)
mediaDownloadQuery - Information with the media we want to get the URL from.Observable with the DownloadUrl information of the media asset file.io.reactivex.Observable<retrofit2.Response<Void>> setMediaProperties(MediaPropertiesQuery mediaPropertiesQuery) throws IllegalAccessException
mediaPropertiesQuery - Information with the media asset properties new values to be
updated.Observable with the request Response information.IllegalAccessException - Check Utils.convertField(Field, Object, Map) for more
information.io.reactivex.Observable<SaveMediaResponse> uploadFile(UploadQuery uploadQuery)
uploadQuery - Upload query with the information to upload the file.Observable with the SaveMediaResponse information.io.reactivex.Observable<UploadProgress> uploadFileWithProgress(UploadQuery uploadQuery)
uploadQuery - Upload query with the information to upload the file.Observable with the UploadProgress information.Copyright © 2017. All rights reserved.