public interface Genre
extends com.thingspace.cloud.sdk.list.item.Item
Modifier and Type | Method and Description |
---|---|
ItemList<Audio> |
getFiles(android.content.Context context,
SortType sortType)
Get all music files of this genre stored in user's cloud storage account.
|
java.lang.String |
getName()
Get genre name
|
java.lang.String getName()
ItemList<Audio> getFiles(android.content.Context context, SortType sortType)
CloudAPIException
will be thrown with an error code CloudAPIException.ErrorCode#USER_UNAUTHAURIZED
if 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)
.
ItemList
populated with Audio
as list item. This list will contain all the audio files of this genre stored under user's cloud storage account. Call ItemList.close()
when the list is no longer needed. CloudAPIException
will be thrown if the request cannot be processed.