Artist

Artist

Version 1.10 - Updated on 05/04/2017

Contents

Introduction

public interface Artist extends Item

Stores music artist information.

getName

String getName()

Retrieves artist’s name.

  • Returns: Artist name

getFiles

ItemList<Audio> getFiles(Context context, SortType sortType)

Retrieves music files of this artist stored in user’s Personal Cloud Storage account. 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.

  • Parameters:
    • context — Context object
    • sortType — The sort type as defined in SortType, combined with sort order SortType#setOrder(SortType.SortOrder).
      • Examples:
        • SortType.NAME.setOrder(SortType.SortOrder.ASC)
        • SortType.VERSION_CREATED.setOrder(SortType.SortOrder.DESC)
        • Pass null for default order.
  • Returns: ItemList populated with Audio as list item. This list contains the audio files by this artist stored 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.