Interface MediaItemSortOptions


  • public interface MediaItemSortOptions
    Represents the media item sort options.
    • Method Detail

      • isAscending

        boolean isAscending()
        Returns true if sort order is ascending or false if it is descending.
        Returns:
        true if sort order is ascending, false otherwise
      • setAscending

        void setAscending​(boolean ascending)
        Sets the sort order. If set to true, sort order is set to ascending, otherwise it is descending.
        Parameters:
        ascending - the sort order to set, true for ascending or false for descending