Version 1.5 - Updated on 10/20/2016
public interface Album extends Item
Stores Album information.
String getName()
String getUid()
String getMimeType()
String getCreationDate()
String getLastModifiedDate()
String getType()
String getUri()
ItemList<File> getFiles(Context context, SortType sortType)
Retrieves a list of files that belongs to the specified Album. Each list item can be further type casted to Photo
, Video
, or Audio
to access their specific attributes. This method makes an HTTP call and should not be called from the main thread. Throws Cloud API Exception with the error code USER_UNAUTHORIZED if the user is not authorized to perform this operation.
context
— Context objectsortType
— The sort type as defined in SortType
, combined with sort order SortType#setOrder(SortType.SortOrder).SortType.NAME
SortType.NAME.setOrder(SortType.SortOrder.ASC)
ItemList
populated with File
as list item. This list contains the files stored in this album under user’s Personal Cloud Storage account. Call ItemList#close() when the list is no longer needed. Throws Cloud API Exception if the request cannot be processed.Copyright © 2015-2017, Verizon and/or its Licensors. All rights reserved.