Version 1.2 - Updated on 7/14/2016



public interface Playlist extends Item

Stores Playlist information.


String getName()

  • Returns: Playlist Name


String getUid()

  • Returns: Playlist unique identifier.


String getMimeType()

  • Returns: Regex pattern for the Mime-Type for the files in the playlist.


String getCreationDate()

  • Returns: Timestamp for the creation date of the playlist.


String getLastModifiedDate()

  • Returns: Timestamp for when the playlist has been modified last.


String getType()

  • Returns: The type of playlist.


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

Retrieves files that belongs to the specified playlist. 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_UNAUTHAURIZED if the user is not authorized to perform this operation.

  • Parameters:
    • context — Context object
    • sortType — Sort type as defined in SortType, can be combined with with SortType.setOrder(SortType.SortOrder). Examples:
      • SortType.NAME
      • SortType.NAME.setOrder(SortType.SortOrder.ASC). Pass null for default order.
  • Returns: ItemList populated with File as a list item. 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.